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

Juha Manninen juha.manninen62 at gmail.com
Sat Aug 13 14:04:49 CEST 2011


2011/8/13 Ludo Brands <ludo.brands at free.fr>

> Delphi has a procedure TMenuItem.Add(const AItems: array of TMenuItem);
> overload;  which isn't implemented in Lazarus. It existed already in
> Delphi6. So, not a compiler issue.
>

Ludo, you are right. Somehow I missed it. Uhhh...
Ctrl-Click leads to the other "Add".
Problem solved.

I will add such method to LCL.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110813/eb7d58a4/attachment.html>


More information about the fpc-pascal mailing list