[fpc-devel] Re: Testing for..in feature
Marco van de Voort
marcov at stack.nl
Wed Nov 4 14:39:30 CET 2009
In our previous episode, Vincent Snijders said:
yy> >>> end.
> > CodeGear Delphi for Win32 compiler version 20.0
> > Copyright (c) 1983,2008 CodeGear
> > testx.dpr(6) Error: E2029 '(' expected but 'DO' found
> > testx.dpr(7) Error: E2430 for-in statement cannot operate on collection type 'T'
> > Since I suspected that D2009 doesn't work on sparse enums, I tried, and the
> > above is the result.
> Does it work on not sparse enums?
Good point. Same error.
In the help only strings,arrays, sets and collections (and in D2009 a
records are explicely named) are described, not enums.
More information about the fpc-devel