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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to