[fpc-devel] New feature discussion: for-in loop

"Vinzent Höfler" JeLlyFish.software at gmx.net
Wed Oct 21 00:56:12 CEST 2009


Sergei Gorelkin <sergei_gorelkin at mail.ru>:

> 4) The syntax 'for element in list using TListIterator' is kind of 
> redundant. I'd suggest:
>    for element in list.GetForwardIterator do ..., or even
>    for element in list.GetSubItems(arguments) do ...

Wat's the return type of those functions? TIterator?


Vinzent.
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser



More information about the fpc-devel mailing list