Sign in Join
FPDoc Onlineexperiment

TCompilerMode enumeration

In unit fpMkUnit

Free Pascal Compiler language compatibility modes

Declaration

pascal
TCompilerMode = (cmFPC,cmTP,cmObjFPC,cmDelphi,cmMacPas,cmDelphiUnicode)

Description

TCompilerMode specifies the language compatibility mode used by the Free Pascal Compiler. Each mode affects syntax rules, default behavior, and language feature availability during compilation.

See also

Values

cmFPCStandard Free Pascal mode
cmTPTurbo Pascal compatibility mode
cmObjFPCObject Pascal mode with object-oriented features
cmDelphiDelphi compatibility mode
cmMacPasMacintosh Pascal compatibility mode
cmDelphiUnicodeDelphi Unicode compatibility mode

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.