Alexander Klenin wrote: > Reverse iteration might be common enough to warrant a special syntax, > but in general all non-standard iteration orders should fall back to indexing. > Then better to extend sintax:
using default iterator = delphi compatible FOR s IN list DO WriteLn(s); extended: FOR s IN list USING my_reverse_iterator DO WriteLn(s); In upper case I wrote keywords and in lower case identifiers. Best regards, Paul Ishenin. _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
