On Fri, 16 May 2014 23:13:43 +0200
Krzysztof <dib...@wp.pl> wrote:

>[...]
> This article is quite clear for me: http://wiki.freepascal.org/for-in_loop
>[...]
> ... then FList.GetEnumerator create new object
> (TListEnumerator.Create(Self)). My question is, where it is freed? Is it
> freed automatically on runtime after exit from loop?

Yes.

Mattias
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to