[fpc-pascal] Using "array of xxx" in function call, Delphi compatibility

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Aug 13 18:30:55 CEST 2011


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.


Jonas


More information about the fpc-pascal mailing list