[fpc-devel] New feature discussion: for-in loop
Graeme Geldenhuys
graemeg.lists at gmail.com
Tue Oct 20 10:22:21 CEST 2009
2009/10/20 Alexander Klenin <klenin at gmail.com>:
>
> Well, I suggest you to read at least the link provided in the original post,
> and maybe also some documention about Delphi/C# enumerators.
I just read the docs in the lazarus wiki. The problems/limitations
still hold true. For-in only goes in ONE direction and can't peak or
filter returned results etc..
What good is an enumerator that only ever goes in one direction and
visits all items. That's not a very flexible design.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list