Sign in Join
Wiki copytemporary

End/de: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: End/de

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

Back to history