Difference between revisions of "Mode Delphi"

From Free Pascal wiki
(see also: $mode DelphiUnicode)
(add link to user’s guide)
 
Line 5: Line 5:
 
== see also ==
 
== see also ==
 
* [[FPC New Features 3.0#New delphiunicode syntax mode|<syntaxhighlight lang="pascal" enclose="none">{$mode DelphiUnicode}</syntaxhighlight>]]
 
* [[FPC New Features 3.0#New delphiunicode syntax mode|<syntaxhighlight lang="pascal" enclose="none">{$mode DelphiUnicode}</syntaxhighlight>]]
 +
* [https://www.freepascal.org/docs-html/user/usersu88.html sub-§ “Delphi compatibility mode” in the ''Free Pascal user’s guide'']

Latest revision as of 15:13, 20 October 2019

English (en) español (es) français (fr) português (pt) русский (ru)

This mode is provided for compatibility with the Delphi compiler from Embarcadero in order to simplify porting of existing code to Free Pascal. You enable it with mode switch ${mode Delphi} in source code or with the compiler command line option -Mdelphi.

see also