Sign in Join
Wiki copytemporary

sIf/de: what changed

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

Title: sIf/de

OldNewLine
1+Zurück zu den [[local compiler directives/de|lokalen Compilerdirektiven]].\
2+
3+== \$IF == Die Direktive \$IF gehört zur bedingten Compilierung.\
4+Die Direktive \$IF ist der Bedingungsteil.\
5+Der Quellcode wird kompiliert, wenn der Ausdruck der Direktive {\$IF ...} Wahr ergibt.\
6+Was ist Zulässig:\
7+[[Macros and Conditionals|Macros und Symbole]] können im Ausdruck der Direktive \$IF verwendet werden.\
8+Einschränkungen:\
9+Im Quellcode deklarierte Variablen oder Konstanten können im Ausdruck der Direktive \$IF nicht verwendet werden.\
10+
11+Beispiel:\
12+
13+``` pascal
14+{$IF ...} // Bedingung
15+ // Einzelanweisung oder Anweisungsblock
16+{$ELSE} // Sonstzweig
17+ // Einzelanweisung oder Anweisungsblock
18+{$ENDIF} // Ende der bedingten Kompilierung.
19+// Der Bedingungsblock kann auch mit {$IFEND} anstelle von {$ENDIF} abgeschlossen werden.
20+```
21+
22+--Olaf 18:44, 6 December 2012 (UTC)
23+
24+---
25+*From the Free Pascal wiki, page "sIf/de", as it stood on 2020-01-24 after a change by Bart, 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).*
26+Category: Free Pascal Programmers Guide/de

Back to history