Mode TP: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Mode TP
| Old | New | Line | |
|---|---|---|---|
| 1 | + | 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**. | |
| 2 | + | ||
| 3 | + | 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. | |
| 4 | + | ||
| 5 | + | ## see also | |
| 6 | + | ||
| 7 | + | - [sub-§ “Turbo Pascal compatibility mode” in the *Free Pascal user’s guide*](https://www.freepascal.org/docs-html/user/usersu84.html) | |
| 8 | + | ||
| 9 | + | --- | |
| 10 | + | *From the Free Pascal wiki, page "Mode TP", as it stood on 2019-10-22 after a change by FTurtle, 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](/wiki-contact).* |
