Identifier/de: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 2 | - | ||
| 3 | - | ||
| 4 | - | ||
| 5 | - | ||
| 6 | - | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 1 | + | Ein Identifier (oder auch Bezeichner) ist in der Programmiersprache Pascal ein Name (auch Symbol genannt) durch den | |
| 11 | 2 | ||
| 12 | - | ||
| 3 | + | * Programme | |
| 4 | + | * Unterprogramme (Prozeduren und Funktionen) | |
| 5 | + | * Variablen | |
| 6 | + | * Konstanten | |
| 7 | + | * Zeiger (Pointer) | |
| 8 | + | * Records | |
| 9 | + | * Klassen | |
| 10 | + | * usw. | |
| 13 | 11 | ||
| 14 | - | ||
| 12 | + | identifiziert werden. | |
| 15 | 13 | ||
| 16 | - | ||
| 14 | + | ||
| 15 | + | Beispiel: | |
| 16 | + | ``` | |
| 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 the Internet Archive kept it on 2022-10-06. 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).* |
