25.01.2013 4:32, Alexander Klenin пишет:
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.

Then I also have nothing against this feature. If it is controllable by enumrator to allow/reject this then it is ok.

Best regards,
Paul Ishenin

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to