sIfc/de: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: sIfc/de
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Zurück zu den [[local compiler directives/de|lokalen Compilerdirektiven]].\ | |
| 2 | + | ||
| 3 | + | == \$IFC == Die Direktive \$IFC gehört zur bedingten Compilierung.\ | |
| 4 | + | Die Direktive \$IFC ist der Bedingungsteil.\ | |
| 5 | + | Der Quellcode wird kompiliert, wenn der Ausdruck der Direktive {\$IFC ...} Wahr ergibt.\ | |
| 6 | + | Im Compilermodus MACPAS kann die Direktive \$IFC als Ersatz für die Direktive \$IF verwendet werden.\ | |
| 7 | + | Die Direktive \$IFC dient der Kompatibilität zu vorhandenen Compilern des Betriebsystems Mac OS.\ | |
| 8 | + | ||
| 9 | + | Beispiel:\ | |
| 10 | + | ||
| 11 | + | {$MODE MACPAS} | |
| 12 | + | ... | |
| 13 | + | {$IFC ...} // Bedingung | |
| 14 | + | // Einzelanweisung oder Anweisungsblock | |
| 15 | + | {$ELSEC} // Sonstzweig | |
| 16 | + | // Einzelanweisung oder Anweisungsblock | |
| 17 | + | {$ENDC} // Ende der bedingten Kompilierung. | |
| 18 | + | ||
| 19 | + | --Olaf 07:39, 13 July 2014 (CEST) | |
| 20 | + | ||
| 21 | + | --- | |
| 22 | + | *From the Free Pascal wiki, page "sIfc/de", as it stood on 2014-07-13 after a change by Olaf, 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).* | |
| 23 | + | Category: Free Pascal Programmers Guide/de |
