[fpc-devel] Scalar value is accepted as an argument for anopenarray parameter
Alexander Klenin
klenin at gmail.com
Mon Jun 11 15:44:40 CEST 2012
On Mon, Jun 11, 2012 at 9:03 AM, Skybuck Flying <skybuck2000 at 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
More information about the fpc-devel
mailing list