[fpc-pascal] Multiple enumerators per class
Paul Ishenin
webpirat at mail.ru
Fri Sep 16 17:18:19 CEST 2011
16.09.2011 5:37, Mattias Gaertner wrote:
> Hi all,
>
> I found the Wiki page about the new for-in loop and found a
> misinformation. It stated wrongly that it is not possible to
> have multiple enumerators per class. It even gave a proposal
> for a new feature that did not add anything new.
>
> I added an example how to add a second enumerator to a class:
>
> http://wiki.freepascal.org/for-in_loop#Multiple_enumerators_for_one_class
>
> IMO the proposal was misleading so I deleted it. I hope this is
> ok. If not, I will restore it.
The idea was to have multiple enumerators without creating a dummy class
for each new.
Best regards,
Paul Ishenin.
More information about the fpc-pascal
mailing list