Forward/de: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | Zurück zu den [[Reserved words/de|reservierten Wörtern]]. | |
| 2 | 2 | ||
| 3 | - | ||
| 3 | + | Der Modifier forward gehört zur Programmierung von Unterprogrammen. | |
| 4 | 4 | ||
| 5 | - | ||
| 5 | + | Der Modifier forward erlaubt es, dass Unterprogramme noch vor der Stelle ihrer Deklaration im Code von anderen Unterprogrammen gesehen werden können. | |
| 6 | 6 | ||
| 7 | 7 | Beispiel: | |
| 8 | 8 | ||
| 9 | 9 | ``` pascal | |
| 10 | 10 | ... | |
| 11 | 11 | function subTest(); forward; | |
| 12 | 12 | ... | |
| 13 | 13 | ``` | |
| 14 | 14 | ||
| 15 | 15 | --- | |
| 16 | 16 | *From the Free Pascal wiki, page "Forward/de", as it stood on 2020-02-16 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).* |
