Am 30.11.2016 05:35 schrieb "Ryan Joseph" <r...@thealchemistguild.com>:
>
> I have a generic record I would like to enumerate using for..in loops. Is
this even possible? I tried briefly and it wasn’t clear this was possible
so I thought I’d ask first. Thanks.
>

Take a look at packages/fcl-stl/src/gvector.pp, it's a generic vector
container that provides an enumerator.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to