[fpc-devel] for-in-index loop

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jan 24 21:44:11 CET 2013


On Thu, 24 Jan 2013 21:30:23 +0100
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.
> Just an example: what happens with i if I start to delete from s during
> the for loop?

Do you mean like the TList enumerator?
Deletion during loop results in skips.

Mattias



More information about the fpc-devel mailing list