$implicitExceptions/de: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 2 | 1 | Zurück zu den [[local compiler directives/de|lokalen Compilerdirektiven]].\ | |
| 3 | - | ||
| 2 | + | ||
| 4 | 3 | == \$IMPLICITEXCEPTIONS == Die Direktive \$IMPLICITEXCEPTIONS dient der Vermeidung von Speicherlöchern.\ | |
| 5 | 4 | Die Direktive \$IMPLICITEXCEPTIONS kennt die Schalter ON und OFF.\ | |
| 6 | 5 | 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 | 6 | Die Variablen werden in einem finally Block abgeschlossen. Dieser Vorgang verlangsamt die Prozeduren um 5% - 10%.\ | |
| 8 | 7 | 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 | - | ||
| 8 | + | ||
| 10 | 9 | Beispiel:\ | |
| 11 | 10 | ||
| 12 | 11 | {$IMPLICITEXCEPTIONS ON} | |
| 13 | 12 | ||
| 14 | - | ||
| 15 | - | ||
| 16 | 13 | --Olaf 18:25, 14 December 2012 (UTC) | |
| 17 | 14 | ||
| 18 | 15 | --- | |
| 19 | 16 | *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).* |
