[fpc-pascal] Is there some disadvantages using mode Delphi?
Michael Van Canneyt
michael at freepascal.org
Sat Apr 29 19:10:32 CEST 2017
On Sat, 29 Apr 2017, Marcos Douglas B. Santos wrote:
> Hi,
>
> I would like to write some packages that should work in FPC and Delphi.
> I know that I will need to use {mode delphi} to do that.
>
> My ask is: Is there some disadvantages using this mode?
>
> I mean, is there something that we only can do in mode objfpc but not in
> mode delphi, or is it just about syntax?
It is not just about syntax. In ObjFPC mode, the compiler is more strict.
(for examlpe: no method parameter names that concide with properties of the object)
Michael.
More information about the fpc-pascal
mailing list