Sign in Join
Wiki copytemporary

Revision 1 of 1, by Olaf on 7-13-2014. The page as it is now.

sIfc/de

Zurück zu den lokalen Compilerdirektiven.\

== $IFC == Die Direktive $IFC gehört zur bedingten Compilierung.
Die Direktive $IFC ist der Bedingungsteil.
Der Quellcode wird kompiliert, wenn der Ausdruck der Direktive {$IFC ...} Wahr ergibt.
Im Compilermodus MACPAS kann die Direktive $IFC als Ersatz für die Direktive $IF verwendet werden.
Die Direktive $IFC dient der Kompatibilität zu vorhandenen Compilern des Betriebsystems Mac OS.\

Beispiel:\

pascal
{$MODE MACPAS}
  ...
{$IFC ...} // Bedingung
  // Einzelanweisung oder Anweisungsblock
{$ELSEC}   // Sonstzweig
  // Einzelanweisung oder Anweisungsblock
{$ENDC}  // Ende der bedingten Kompilierung.

--Olaf 07:39, 13 July 2014 (CEST)


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.