Sign in Join
Wiki copytemporary

On/de: what changed

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

OldNewLine
11Zurück zu den [[Reserved words/de|reservierten Wörtern]].
22
3-Das reservierte Wort <b>on</b> gehört zur objektorientierten Programmierung.
3+Das reservierte Wort on gehört zur objektorientierten Programmierung.
44
5-Das reservierte Wort <b>on</b> dient der Behandlung von speziellen Exceptions innerhalb des except-Blocks.
5+Das reservierte Wort on dient der Behandlung von speziellen Exceptions innerhalb des except-Blocks.
66
77Beispiel:
88
99``` pascal
1010begin
1111 ...
1212 try
1313 ... // Aktion
1414 except
1515 on EFOpenError do // Fehlerbehandlung für eine spezielle Exception
1616 ...
1717 on EOverFlow do // Fehlerbehandlung für eine spezielle Exception
1818 ...
1919 else // Fehlerbehandlung für alle anderen Exceptions
2020 ...
2121 end;
2222 ...
2323end;
2424```
2525
2626---
2727*From the Free Pascal wiki, page "On/de", as it stood on 2020-02-23 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