Sign in Join
Wiki copytemporary

sGlobalMode/de

Zurück zu den globalen Compilerdirektiven.\

Die globale Compiler Direktive $MODE teilt dem Compiler mit, welchen Kompatibilitätsmodus (Kompatibilität zu den Compilern anderer Hersteller) er verwenden soll.\

DEFAULT

Standard Modus. Der Compiler kehrt zu dem Modus zurück, der an der Kommandozeile eingegeben wurde.

DELPHI

Delphi Kompatibilitätsmodus. Alle Objekt-Pascalerweiterungen sind eingeschalten. Die hat die gleiche Wirkung wie der Kommandozeilenschalter -Sd.

TP

Turbo Pascal Kompatibilitätsmodus. Alle Objekt-Pascalerweiterungen sind ausgeschalten, ausgenommen davon sind nur die Ansistrings, diese sind möglich. Dieser Modus kann auch über den Kommandozeilenschalter -So aktiviert werden.

FPC

Der FPC Modus ist der Standardmodus.

OBJFPC

Objektpascalmodus. Der Compiler-Modus objfpc ist ein erweiterter fpc Compiler-Modus. Dieser Schalter hat die gleiche Wirkung wie der Kommandozeilenschalter -S2

MACPAS

MacPas Kompatibilitätsmodus. In diesem Compiler-Modus versucht der Compiler mehr Kompatibilität zu den Pascaldialekten (wie Think Pascal, Metroworks Pascal und MPW Pascal) auf dem Betriebsystem Mac Os zu erreichen.

Beispiele:\

pascal
{$MODE TP}

Die globale Compiler Direktive $MODE hat ihr Gegenstück in den Kommandozeilen-Optionen -So, -Sd, -Sp und -S2.

--Olaf 09:55, 11 February 2013 (UTC)


From the Free Pascal wiki, page "sGlobalMode/de", as it stood on 2017-05-25 after a change by Jc99, 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 3 people, 2013–2017

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 (minor)
Olaf (minor)
Olaf (minor)
Swen (minor)
Olaf (minor)
Jc99

Talk about this page

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