End/de: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 2 | 1 | Zurück zu den [[Reserved words/de|reservierten Wörtern]].\ | |
| 3 | - | ||
| 2 | + | ||
| 4 | 3 | Das reservierte Wort **end** schliesst:\ | |
| 5 | 4 | * Einen Anweisungsblock der mit [[Begin/de|begin]] anfängt. | |
| 6 | 5 | ||
| 7 | 6 | - Einen Entscheidungsblock der mit [[Case/de|case]] anfängt. | |
| 8 | 7 | - Eine [[Record/de|Recorddeklaration]]. | |
| 9 | 8 | - Eine [[Object/de|Objectdeklaration]]. | |
| 10 | 9 | - Eine [[Class/de|Classendeklaration]]. | |
| 11 | 10 | - Einen [[Try/de|try ... finally]] oder [[Try/de|try ... except]] Block. | |
| 12 | 11 | - Ein [[Asm/de|asm]] Block. | |
| 13 | 12 | ||
| 14 | - | ||
| 15 | 13 | Beispiel **begin**:\ | |
| 16 | 14 | ||
| 17 | 15 | ``` pascal | |
| 18 | 16 | ... | |
| 19 | 17 | begin | |
| 20 | 18 | ... | |
| 21 | 19 | end; | |
| 22 | 20 | ... | |
| 23 | 21 | ``` | |
| 24 | 22 | ||
| 25 | - | ||
| 26 | 23 | Beispiel **case**:\ | |
| 27 | 24 | ||
| 28 | 25 | ``` pascal | |
| 29 | 26 | ... | |
| 30 | 27 | case ... of | |
| 31 | 28 | ... | |
| 32 | 29 | end; | |
| 33 | 30 | ... | |
| 34 | 31 | ``` | |
| 35 | 32 | ||
| 36 | - | ||
| 37 | 33 | Beispiel **record**:\ | |
| 38 | 34 | ||
| 39 | 35 | ``` pascal | |
| 40 | 36 | ... | |
| 41 | 37 | type TDaten = record | |
| 42 | 38 | ... | |
| 43 | 39 | end; | |
| 44 | 40 | ... | |
| 45 | 41 | ``` | |
| 46 | 42 | ||
| 47 | - | ||
| 48 | 43 | Beispiel **object**:\ | |
| 49 | 44 | ||
| 50 | 45 | ``` pascal | |
| 51 | 46 | ... | |
| 52 | 47 | type TDaten = object | |
| 53 | 48 | ... | |
| 54 | 49 | end; | |
| 55 | 50 | ... | |
| 56 | 51 | ``` | |
| 57 | 52 | ||
| 58 | - | ||
| 59 | 53 | Beispiel **class**:\ | |
| 60 | 54 | ||
| 61 | 55 | ``` pascal | |
| 62 | 56 | ... | |
| 63 | 57 | type TDaten = class(TObject) | |
| 64 | 58 | ... | |
| 65 | 59 | end; | |
| 66 | 60 | ... | |
| 67 | 61 | ``` | |
| 68 | 62 | ||
| 69 | - | ||
| 70 | 63 | Beispiel **Try-Finally**:\ | |
| 71 | 64 | ||
| 72 | 65 | ``` pascal | |
| 73 | 66 | ... | |
| 74 | 67 | try | |
| 75 | 68 | ... | |
| 76 | 69 | finally | |
| 77 | 70 | ... | |
| 78 | 71 | end; | |
| 79 | 72 | ... | |
| 80 | 73 | ``` | |
| 81 | 74 | ||
| 82 | - | ||
| 83 | 75 | Beispiel **Try-Except**:\ | |
| 84 | 76 | ||
| 85 | 77 | ``` pascal | |
| 86 | 78 | ... | |
| 87 | 79 | try | |
| 88 | 80 | ... | |
| 89 | 81 | except | |
| 90 | 82 | ... | |
| 91 | 83 | end; | |
| 92 | 84 | ... | |
| 93 | 85 | ``` | |
| 94 | 86 | ||
| 95 | - | ||
| 96 | 87 | Beispiel **asm**:\ | |
| 97 | 88 | ||
| 98 | 89 | ``` pascal | |
| 99 | 90 | ... | |
| 100 | 91 | asm | |
| 101 | 92 | ... | |
| 102 | 93 | end; | |
| 103 | 94 | ... | |
| 104 | 95 | ``` | |
| 105 | 96 | ||
| 106 | 97 | --- | |
| 107 | 98 | *From the Free Pascal wiki, page "End/de", as it stood on 2020-02-14 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).* |
