[fpc-devel] for-in-index loop

Alexander Klenin klenin at gmail.com
Thu Jan 24 21:32:05 CET 2013


On Fri, Jan 25, 2013 at 7:18 AM, Jeppe Græsdal Johansen
<jjohan07 at 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



More information about the fpc-devel mailing list