On Mon, Jun 11, 2012 at 9:03 AM, Skybuck Flying <skybuck2...@hotmail.com> wrote:

>> Unfortunately Delphi (6) accepts this too. It took me some time at work

>> Delphi XE2 does not ;)

> Delphi XE does not accept constants either, but scalar variables. So the
> following compiles:

Given the above, I suggest to leave Delphi mode as is,
and forbid scalar values in FPC mode.

-- 
Alexander S. Klenin
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to