Sign in Join
FPDoc Onlineexperiment

TCompilerMode.cmTP value

Member of TCompilerModeIn unit fpMkUnit

Turbo Pascal compatibility mode

Declaration

pascal
cmTP

Description

cmTP provides compatibility with Borland Turbo Pascal, enabling compilation of legacy Turbo Pascal code with minimal modifications. This mode restricts language features to those available in classic Turbo Pascal. Specifying this mode passes -mTP to the compiler.

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