[fpc-pascal] PChar & AnsiString -- for-in loop enumerator

spir denis.spir at gmail.com
Wed Jun 2 15:09:21 CEST 2010


On Wed, 2 Jun 2010 15:19:55 +0700
Bee Jay <bee.ography at gmail.com> wrote:

> On 1 Jun 2010, at 22:13, spir ☣ wrote:
> 
> > (*) And to some more constructs in other languages, like foreach (*the* feature I miss in freepascal):
> >   foreach name in names do ... end;
> 
> http://wiki.freepascal.org/for-in_loop

Is this implemented? (unable to make it work -- the compiler refuses the for...in notation)

Denis
________________________________

vit esse estrany ☣

spir.wikidot.com



More information about the fpc-pascal mailing list