Identifier/fi: what changed
Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 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)]]. | |
| 2 | 2 | ||
| 3 | - | ||
| 4 | - | ||
| 5 | - | ||
| 6 | - | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 11 | - | ||
| 12 | - | ||
| 13 | - | ||
| 3 | + | Esimerkiksi seuraavanlainen pala koodia: | |
| 4 | + | ||
| 5 | + | ``` pascal | |
| 6 | + | Program WittsEnd; | |
| 7 | + | Const Y=2; | |
| 8 | + | Var Plugh: Integer; | |
| 9 | + | Procedure Xyzzy; | |
| 10 | + | begin | |
| 11 | + | end; | |
| 12 | + | Begin | |
| 13 | + | Plugh := Y*2; | |
| 14 | + | end. | |
| 14 | 15 | ``` | |
| 15 | 16 | ||
| 16 | - | ||
| 17 | + | kertoo meille että | |
| 17 | 18 | ||
| 18 | - | ||
| 19 | - | ||
| 20 | - | ||
| 21 | - | ||
| 19 | + | - WittsEnd | |
| 20 | + | - Y | |
| 21 | + | - Plugh | |
| 22 | + | - Xyzzy | |
| 22 | 23 | ||
| 23 | 24 | ovat kaikki yksilöiviä tunnisteita. | |
| 24 | 25 | ||
| 25 | 26 | --- | |
| 26 | - | ||
| 27 | + | *From the Free Pascal wiki, page "Identifier/fi", as it stood on 2019-06-28 after a change by Djzepi, 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).* |
