Identifier/de: what changed
Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 1 | + | Ein Identifier (oder auch Bezeichner) ist in der Programmiersprache Pascal ein Name (auch Symbol genannt) durch den | |
| 2 | 2 | ||
| 3 | - | ||
| 4 | - | ||
| 5 | - | ||
| 6 | - | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 3 | + | - Programme | |
| 4 | + | - Unterprogramme (Prozeduren und Funktionen) | |
| 5 | + | - Variablen | |
| 6 | + | - Konstanten | |
| 7 | + | - Zeiger (Pointer) | |
| 8 | + | - Records | |
| 9 | + | - Klassen | |
| 10 | + | - usw. | |
| 11 | 11 | ||
| 12 | - | ||
| 12 | + | identifiziert werden. | |
| 13 | 13 | ||
| 14 | - | ||
| 15 | - | ||
| 16 | - | ||
| 14 | + | Beispiel: | |
| 15 | + | ||
| 16 | + | ``` pascal | |
| 17 | 17 | program subTest; // subTest ist der Identifier | |
| 18 | - | ||
| 19 | - | ||
| 20 | - | ||
| 21 | - | ||
| 22 | - | ||
| 23 | - | ||
| 24 | - | ||
| 25 | - | ||
| 26 | - | ||
| 18 | + | const | |
| 19 | + | conY = 2; // conY ist der Identifier | |
| 20 | + | ||
| 21 | + | var | |
| 22 | + | intErgebnis: Integer; // intErgebnis ist der Identifier | |
| 23 | + | ||
| 24 | + | begin | |
| 25 | + | intErgebnis := conY * 2; // intErgebnis und conY sind Identifier | |
| 26 | + | end. | |
| 27 | 27 | ``` | |
| 28 | 28 | ||
| 29 | 29 | --- | |
| 30 | - | ||
| 30 | + | *From the Free Pascal wiki, page "Identifier/de", as it stood on 2020-02-17 after a change by Trev, 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).* |
