'/fi: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 2 | - | ||
| 3 | 1 | ' | |
| 4 | 2 | ||
| 5 | - | ||
| 6 | - | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 11 | - | ||
| 3 | + | [[ASCII/fi|ASCII]]:ssa merkkikoodi `39` (tai [[Hexadecimal/fi|heksadesimaalisena]] `27`) on määritelty `'` ( heittomerkille ). | |
| 12 | 4 | ||
| 5 | + | [[Pascal/fi|Pascal]] ohjelmointikielessä merkkijonot laitetaan heittomerkkien sisälle. | |
| 6 | + | ``` | |
| 13 | 7 | program HelloWorld; | |
| 14 | - | ||
| 15 | - | ||
| 16 | - | ||
| 17 | - | ||
| 18 | - | ||
| 19 | - | ||
| 20 | - | ||
| 8 | + | var | |
| 9 | + | s:string; | |
| 10 | + | begin | |
| 11 | + | s := 'Hello World!'; | |
| 12 | + | writeLn(s); | |
| 13 | + | readln; | |
| 14 | + | end. | |
| 21 | 15 | ``` | |
| 22 | 16 | ||
| 23 | - | ||
| 24 | - | ||
| 25 | - | ||
| 26 | - | ||
| 17 | + | Jos halutaan tulostaa heittomerkin merkkijonoon niin se tuplataan. | |
| 18 | + | ``` | |
| 27 | 19 | Writeln ('ab''cd'); // merkkijono sisältää heittomerkin | |
| 28 | 20 | ``` | |
| 29 | 21 | ||
| 30 | - | ||
| 22 | + | Yllä oleva rivi on tulostaa: | |
| 23 | + | ``` | |
| 24 | + | ab'cd | |
| 25 | + | ``` | |
| 31 | 26 | ||
| 32 | - | ||
| 27 | + | ||
| 33 | 28 | ||
| 29 | + | navigation bar: topic: Pascal symbols single characters | [[Plus/fi|`+` (plus)]] • [[Minus/fi|`-` (minus)]] • [[*/fi|`*` (asterisk)]] • [[Slash/fi|`/` (slash)]] | |
| 30 | + | [[Equal/fi|`=` (equal)]] • [[Greater than/fi|`>` (greater than)]] • [[Less than/fi|`<` (less than)]] | |
| 31 | + | [[period/fi|`.` (period)]] • [[Colon/fi|`:` (colon)]] • [[;/fi|`;` (semi colon)]] | |
| 32 | + | [[^/fi|`^` (hat)]] • [[@/fi|`@` (at)]] | |
| 33 | + | [[Dollar sign/fi|`$` (dollar sign)]] • [[&/fi|`&` (ampersand)]] • [`#` (hash)](</index.php?title=Hash/fi&action=edit&redlink=1> "Hash/fi \(page does not exist\)") | |
| 34 | + | `'` (single quote) | |
| 35 | + | ---|--- | |
| 36 | + | character pairs | [[Not equal/fi|`<>` (not equal)]] • [`<=` (less than or equal)](</index.php?title=Less_than_or_equal/fi&action=edit&redlink=1> "Less than or equal/fi \(page does not exist\)") • [[Becomes/fi|`:=` (becomes)]] • [`>=` (greater than or equal)](</index.php?title=Greater_than_or_equal/fi&action=edit&redlink=1> "Greater than or equal/fi \(page does not exist\)") • [[symmetric difference|`><` (symmetric difference)]] • [[Slash|`//` (double slash)]] | |
| 37 | + | ||
| 38 | + | ||
| 39 | + | **** | |
| 40 | + | ||
| 34 | 41 | --- | |
| 35 | - | ||
| 42 | + | *From the Free Pascal wiki, page "'/fi", as the Internet Archive kept it on 2024-01-21. 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).* |
