Sign in Join
Wiki copytemporary

'/fi: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: '/fi

OldNewLine
1+<div style="float:right; margin: 0 25px 20px 0; padding:40px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">
2+
3+'
4+
5+</div>
6+
7+[[ASCII/fi|ASCII]]:ssa merkkikoodi `39` (tai [[Hexadecimal/fi|heksadesimaalisena]] `27`) on määritelty `'` ( heittomerkille ).
8+
9+[[Pascal/fi|Pascal]] ohjelmointikielessä merkkijonot laitetaan heittomerkkien sisälle.
10+
11+``` pascal
12+
13+program HelloWorld;
14+var
15+ s:string;
16+begin
17+ s := 'Hello World!';
18+ writeLn(s);
19+ readln;
20+end.
21+```
22+
23+Jos halutaan tulostaa heittomerkin merkkijonoon niin se tuplataan.
24+
25+``` pascal
26+
27+Writeln ('ab''cd'); // merkkijono sisältää heittomerkin
28+```
29+
30+Yllä oleva rivi on tulostaa:
31+
32+`ab'cd`
33+
34+---
35+*From the Free Pascal wiki, page "'/fi", as it stood on 2022-08-06 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history