On Fri, Jan 25, 2013 at 7:18 AM, Jeppe Græsdal Johansen <jjoha...@student.aau.dk> wrote: > > I think the idea is good if the feature is implemented as "optional". > > That way: > - If the enumerator class implements a CurrentIndex method then the for loop > can have an index variable. > - If not then the for loop can only behave as current for in loops. > Of course.
-- Alexander S. Klenin _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel