[fpc-devel] var param as property index?
skalogryz.lists at gmail.com
Sun May 30 19:32:25 CEST 2010
On Sun, May 30, 2010 at 5:29 PM, Martin <lazarus at mfriebe.de> wrote:
> I don't think the following is intended? (it compiles with trunc).
> Note the property index is a var param
> TForm1 = class(TForm)
> function GetFoo(var Index: Integer): Boolean;
> property Foo[var Index: Integer]: Boolean read GetFoo;
does FPC compile the following, in this case:
f : TForm1;
More information about the fpc-devel