Difference between revisions of "End/de"
From Free Pascal wiki
Jump to navigationJump to searchm (Fixed syntax highlighting; deleted category included in page template) |
|||
Line 13: | Line 13: | ||
<br> | <br> | ||
Beispiel '''begin''':<br> | Beispiel '''begin''':<br> | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=pascal> |
... | ... | ||
begin | begin | ||
Line 22: | Line 22: | ||
<br> | <br> | ||
Beispiel '''case''':<br> | Beispiel '''case''':<br> | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=pascal> |
... | ... | ||
case ... of | case ... of | ||
Line 31: | Line 31: | ||
<br> | <br> | ||
Beispiel '''record''':<br> | Beispiel '''record''':<br> | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=pascal> |
... | ... | ||
type TDaten = record | type TDaten = record | ||
Line 40: | Line 40: | ||
<br> | <br> | ||
Beispiel '''object''':<br> | Beispiel '''object''':<br> | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=pascal> |
... | ... | ||
type TDaten = object | type TDaten = object | ||
Line 49: | Line 49: | ||
<br> | <br> | ||
Beispiel '''class''':<br> | Beispiel '''class''':<br> | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=pascal> |
... | ... | ||
type TDaten = class(TObject) | type TDaten = class(TObject) | ||
Line 58: | Line 58: | ||
<br> | <br> | ||
Beispiel '''Try-Finally''':<br> | Beispiel '''Try-Finally''':<br> | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=pascal> |
... | ... | ||
try | try | ||
Line 69: | Line 69: | ||
<br> | <br> | ||
Beispiel '''Try-Except''':<br> | Beispiel '''Try-Except''':<br> | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=pascal> |
... | ... | ||
try | try | ||
Line 80: | Line 80: | ||
<br> | <br> | ||
Beispiel '''asm''':<br> | Beispiel '''asm''':<br> | ||
− | <syntaxhighlight> | + | <syntaxhighlight lang=pascal> |
... | ... | ||
asm | asm | ||
Line 87: | Line 87: | ||
... | ... | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 08:47, 14 February 2020
│
Deutsch (de) │
English (en) │
suomi (fi) │
français (fr) │
русский (ru) │
Zurück zu den reservierten Wörtern.
Das reservierte Wort end schliesst:
- Einen Anweisungsblock der mit begin anfängt.
- Einen Entscheidungsblock der mit case anfängt.
- Eine Recorddeklaration.
- Eine Objectdeklaration.
- Eine Classendeklaration.
- Einen try ... finally oder try ... except Block.
- Ein asm Block.
Beispiel begin:
...
begin
...
end;
...
Beispiel case:
...
case ... of
...
end;
...
Beispiel record:
...
type TDaten = record
...
end;
...
Beispiel object:
...
type TDaten = object
...
end;
...
Beispiel class:
...
type TDaten = class(TObject)
...
end;
...
Beispiel Try-Finally:
...
try
...
finally
...
end;
...
Beispiel Try-Except:
...
try
...
except
...
end;
...
Beispiel asm:
...
asm
...
end;
...