> On Jul 1, 2019, at 12:08 PM, Ondrej Pokorny <[email protected]> wrote:
>
> Very good! Just a short question: does your solution allow one overload
> without array indexes? It is very useful as a for-in enumerator of the array
> property:
>
> TTest = class
> public
> // ...
> property StringArray[Index: Integer]: string read GetString;
> property StringArray: TTestObjectEnumerator read GetString;
> end;
No, it’s just for [] properties. Is that allowed in Delphi?
Regards,
Ryan Joseph
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel