[fpc-pascal] Using "array of xxx" in function call, Delphi compatibility
Sven Barth
pascaldragon at googlemail.com
Sat Aug 13 18:47:28 CEST 2011
On 13.08.2011 18:30, Jonas Maebe wrote:
>
> On 13 Aug 2011, at 18:17, Sven Barth wrote:
>
>> Related question, but the other way round. The following code does compile in FPC (didn't test Delphi). Is that by design?
> [snip passing single element to open array parameter]
>
> Yes. It also works in TP/Delphi.
Ok, thanks. I just stumbled upon it some time ago by accident (like the
TVarRec cast some more time ago ^^)
Regards,
Sven
More information about the fpc-pascal
mailing list