Sign in Join
Wiki copytemporary

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.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 1 person, 2014

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
OlafCreated page
Olaf$IFC (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.