Op 2011-02-16 15:59, Michael Schnell het geskryf: > Do we already have / plan a dedicated iterator loop syntax for this
A similar syntax is already supported in FPC 2.4.2. See the Language Reference documentation, section 10.2.5 (pg 115 in the ref.pdf). I personally prefer the Iterator interface though, because it supports bi-directional iteration, filtered iteration, skips, resets etc. Basically a lot more functional for me, than the FPC's for..in..do syntax. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
