Sign in Join
Wiki copytemporary

$implicitExceptions/de: what changed

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

Title: $implicitExceptions/de

OldNewLine
1+\
2+Zurück zu den [[local compiler directives/de|lokalen Compilerdirektiven]].\
3+\
4+== \$IMPLICITEXCEPTIONS == Die Direktive \$IMPLICITEXCEPTIONS dient der Vermeidung von Speicherlöchern.\
5+Die Direktive \$IMPLICITEXCEPTIONS kennt die Schalter ON und OFF.\
6+Der Standard ist {\$IMPLICITEXCEPTIONS ON} Die Direktive {\$IMPLICITEXCEPTIONS ON} veranlasst den Compiler einen try ... finally Block für jedes Unterprogramm das eine Initialisierung oder Finalisierung von Variablen braucht zu erstellen.\
7+Die Variablen werden in einem finally Block abgeschlossen. Dieser Vorgang verlangsamt die Prozeduren um 5% - 10%.\
8+Die Direktive {\$IMPLICITEXCEPTIONS OFF} erlaubt es diese Einstellung zu umgehen. Das kann in dem Fall, dass eine Exception geworfen wird zu Speicherlöchern führen.\
9+\
10+Beispiel:\
11+
12+ {$IMPLICITEXCEPTIONS ON}
13+
14+\
15+\
16+--Olaf 18:25, 14 December 2012 (UTC)
17+
18+---
19+*From the Free Pascal wiki, page "$implicitExceptions/de", as it stood on 2023-03-08 after a change by Kai Burghardt, 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