$Assertions/de: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: $Assertions/de
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Zurück zu den [[local compiler directives/de|lokalen Compilerdirektiven]]. | |
| 2 | + | ||
| 3 | + | ## \$C oder \$ASSERTIONS | |
| 4 | + | ||
| 5 | + | Die lokale Compilerdirektive \$ASSERTIONS dient der Fehlerermittlung. | |
| 6 | + | ||
| 7 | + | Die lokale Compilerdirektive \$ASSERTIONS legt fest, ob ein Ausdruck compiliert wird oder nicht. Wenn die Direktive aktiv ist, dann wird der Ausdruck | |
| 8 | + | ||
| 9 | + | ``` pascal | |
| 10 | + | Assert(BooleanExpression,AssertMessage); | |
| 11 | + | ``` | |
| 12 | + | ||
| 13 | + | compiliert. | |
| 14 | + | ||
| 15 | + | Wenn der BooleanExpression (Wahrheitsausdruck) False zurück gibt, dann wird eine Fehlermeldung (AssertMessage) mit dem Dateinamen, der Zeilennummer und der Adresse ausgegeben. | |
| 16 | + | ||
| 17 | + | --- | |
| 18 | + | *From the Free Pascal wiki, page "$Assertions/de", as it stood on 2020-02-26 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).* |
