[fpc-pascal] Multiple enumerators per class
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Sep 16 00:25:53 CEST 2011
On Thu, 15 Sep 2011 18:52:30 -0300
Flávio Etrusco <flavio.etrusco at gmail.com> wrote:
> On Thu, Sep 15, 2011 at 6:37 PM, Mattias Gaertner
> <nc-gaertnma at netcologne.de> 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.
> >
> >
> > Mattias
>
> How can you use multiple enumerators? I searched it recently and only
> found that wiki page ;-)
That's why I added the example. ;)
Mattias
More information about the fpc-pascal
mailing list