Difference between revisions of "Mode TP"

From Lazarus wiki
Jump to navigationJump to search
(how to enable)
(refer to user’s guide)
Line 4: Line 4:
  
 
See [[Porting low-level DOS code for TP/BP to GO32v2 with FPC|standalone page]] for more information about porting low-level DOS code written with TP/BP to GO32v2 target of FPC.
 
See [[Porting low-level DOS code for TP/BP to GO32v2 with FPC|standalone page]] for more information about porting low-level DOS code written with TP/BP to GO32v2 target of FPC.
 +
 +
== see also ==
 +
* [https://www.freepascal.org/docs-html/user/usersu84.html sub-§ “Turbo Pascal compatibility mode” in the ''Free Pascal user’s guide'']
  
 
[[Category:Modes]]
 
[[Category:Modes]]

Revision as of 14:18, 20 October 2019

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