[fpc-pascal] Multiple enumerators per class

Marco van de Voort core at pascalprogramming.org
Fri May 12 14:24:36 CEST 2023


Op 12/05/2023 om 14:16 schreef Hairy Pixels via fpc-pascal:
> Is it possible to have multiple enumerators on one class?

Yes, see e.g. TDictionary that allows iterations over keys and values 
and both. There is only one default iterator, but you can have some 
property that has its own iterator.



More information about the fpc-pascal mailing list