On Sat, 10 Oct 2015, Ondrej Pokorny wrote:
On 10.10.2015 12:30, Michael Van Canneyt wrote:
After a
sed s/iterator/enumerator/g
I'm all for it.
+ Yes, the "in Self" is supported. But this is not the problem here. The
example still doesn't compile. A class can have more array properties. And
even the default class enumerators can be redeclared and so hide enumerators
from ancestor classes.
Maybe a better example:
*Procedure TForm1.Button1Click(Sender: TObject); **
** var **
** Cont: TControl; **
** begin **
** for Cont in Controls do **
** //... **
** end; **
***
100% agreed :)
Michael.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel