[fpc-devel] for-in-index loop

Alexander Klenin klenin at gmail.com
Thu Jan 24 21:35:26 CET 2013


On Fri, Jan 25, 2013 at 7:30 AM, Florian Klämpfl <florian at freepascal.org> wrote:
> Am 24.01.2013 20:36, schrieb Alexander Klenin:
>> That's debatable.
>
> As long as there is only some few line idea, there cannot debated much.

It is more: an idea with implementation and tests ;)

> Just an example: what happens with i if I start to delete from s during
> the for loop?

Exactly the same thing as in the current for-in loop: either a range check error
of nothing, depending on what you delete.

--
Alexander S. Klenin



More information about the fpc-devel mailing list