Identifier/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 | + | [[Pascal/fi|Pascal]]-[[Program/fi|ohjelmassa]] yksilöivää tunniste on symboolinen nimi joka koostuu kirjaimista (a...z/ A...Z), numeroista (0...9) ja tietyistä erikoismerkeistä. Näiden käytöllä ilmaistaan tieyttyä [[Variable/fi|muuttujaa (var)]], [[Const/fi|vakiota (const)]], oliota, [[Record/fi|tietuetta (record)]], [[Type/fi|tyyppiä (type)]], [[Procedure/fi|aliohjelmaa (procedure)]] tai [[Function/fi|funktiota (function)]]. | |
| 4 | 2 | ||
| 5 | - | ||
| 6 | - | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 11 | - | ||
| 12 | - | ||
| 13 | - | ||
| 14 | - | ||
| 3 | + | Esimerkiksi seuraavanlainen pala koodia: | |
| 15 | 4 | ``` | |
| 5 | + | Program WittsEnd; | |
| 6 | + | Const Y=2; | |
| 7 | + | Var Plugh: Integer; | |
| 8 | + | Procedure Xyzzy; | |
| 9 | + | begin | |
| 10 | + | end; | |
| 11 | + | Begin | |
| 12 | + | Plugh := Y*2; | |
| 13 | + | end. | |
| 14 | + | ``` | |
| 16 | 15 | ||
| 17 | - | ||
| 16 | + | kertoo meille että | |
| 18 | 17 | ||
| 19 | - | ||
| 20 | - | ||
| 21 | - | ||
| 22 | - | ||
| 18 | + | * WittsEnd | |
| 19 | + | * Y | |
| 20 | + | * Plugh | |
| 21 | + | * Xyzzy | |
| 23 | 22 | ||
| 24 | 23 | ovat kaikki yksilöiviä tunnisteita. | |
| 25 | 24 | ||
| 26 | 25 | --- | |
| 27 | - | ||
| 26 | + | *From the Free Pascal wiki, page "Identifier/fi", as the Internet Archive kept it on 2022-08-16. 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).* |
