Identifier/fi: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Identifier/fi
| Old | New | Line | |
|---|---|---|---|
| 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 | + | ||
| 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. | |
| 15 | + | ``` | |
| 16 | + | ||
| 17 | + | kertoo meille että | |
| 18 | + | ||
| 19 | + | - WittsEnd | |
| 20 | + | - Y | |
| 21 | + | - Plugh | |
| 22 | + | - Xyzzy | |
| 23 | + | ||
| 24 | + | ovat kaikki yksilöiviä tunnisteita. | |
| 25 | + | ||
| 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).* |
