Sign in Join
Wiki copytemporary

Raise/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>raise</b>:
3+Das reservierte Wort raise:
44
55- gehört zur objektorientierten Programmierung
66- reicht eine Exception weiter
77- löst eine selbstdefinierte Exception aus
88
99Beispiel 1:
1010
1111``` pascal
1212 ...
1313 except
1414 raise; // Weiterreichen der 'gefangenen' Exception
1515 ...
1616```
1717
1818Beispiel 2:
1919
2020``` pascal
2121 ...
2222 except
2323 raise EException.Create; // Eigene (vorher deklarierte) Exception auslösen
2424 ...
2525```
2626
2727---
2828*From the Free Pascal wiki, page "Raise/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