Sign in Join
Wiki copytemporary

On/de: what changed

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

Title: On/de

OldNewLine
1+Zurück zu den [[Reserved words/de|reservierten Wörtern]].
2+
3+Das reservierte Wort <b>on</b> gehört zur objektorientierten Programmierung.
4+
5+Das reservierte Wort <b>on</b> dient der Behandlung von speziellen Exceptions innerhalb des except-Blocks.
6+
7+Beispiel:
8+
9+``` pascal
10+begin
11+ ...
12+ try
13+ ... // Aktion
14+ except
15+ on EFOpenError do // Fehlerbehandlung für eine spezielle Exception
16+ ...
17+ on EOverFlow do // Fehlerbehandlung für eine spezielle Exception
18+ ...
19+ else // Fehlerbehandlung für alle anderen Exceptions
20+ ...
21+ end;
22+ ...
23+end;
24+```
25+
26+---
27+*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