[fpc-pascal] Multiple enumerators per class
Hairy Pixels
genericptr at gmail.com
Fri May 12 14:59:11 CEST 2023
> On May 12, 2023, at 7:24 PM, Marco van de Voort via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> 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.
Where is TDictionary located so I can see the class definition? can't seem to find it....
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list