> On Nov 30, 2016, at 6:24 PM, Graeme Geldenhuys > <mailingli...@geldenhuys.co.uk> wrote: > > What would you iterate/enumerate in that? I can understand iterating an > "array of TMyRec", but not TMyRec itself.
I have a dynamic array inside a record. I’m using a record instead of a class because I want it to be stored on the stack. It’s trivial to just enumerate the array inside the record but I wanted to try the more elegant solution of making an enumerator for the record. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal