Difference between revisions of "Mode Delphi"
From Free Pascal wiki
Jump to navigationJump to search (→see also: $mode DelphiUnicode) |
(→See also: insert link to Delphi language features missing from the Free Pascal Compiler) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Mode Delphi}} | {{Mode Delphi}} | ||
− | This [[Compiler Mode|mode]] is provided for compatibility with the [[Delphi]] [[Compiler|compiler]] from Embarcadero in order to simplify porting of existing code to [[FPC|Free Pascal]]. You enable it with mode switch | + | This [[Compiler Mode|mode]] is provided for compatibility with the [[Delphi]] [[Compiler|compiler]] from Embarcadero in order to simplify porting of existing code to [[FPC|Free Pascal]]. You enable it with mode switch <syntaxhighlight lang="pascal" inline>{$mode Delphi}</syntaxhighlight> in [[Source code|source code]] or with the compiler [[Command line parameters and environment variables|command line option]] '''-Mdelphi'''. |
− | == | + | == See also == |
− | * [[FPC New Features 3.0#New delphiunicode syntax mode|<syntaxhighlight lang="pascal" | + | * [[Delphi language features missing from the Free Pascal Compiler]] |
+ | * [[FPC New Features 3.0#New delphiunicode syntax mode|<syntaxhighlight lang="pascal" inline>{$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 00:28, 30 January 2023
│
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.