Mode TP

From Free Pascal wiki
Jump to navigationJump to search

Deutsch (de) English (en) español (es) français (fr) Bahasa Indonesia (id) русский (ru)

This mode is provided for highest level of compatibility with Turbo Pascal/Borland Pascal compilers in order to simplify porting of existing code to FPC. It turns on some features which are not considered as recommended to use in general (e.g. because of their ambiguity or potential side-effects), slightly modifies syntax rules where necessary, changes the default assembler mode to $ASMMODE INTEL, etc. You enable it with mode switch ${mode TP} in source code or with the compiler command line option -Mtp.

See standalone page for more information about porting low-level DOS code written with TP/BP to GO32v2 target of FPC.

see also