On 2016-11-30 04:03, Ryan Joseph wrote:
> I have a generic record I would like to enumerate using for..in loops.

Maybe generics are redefining this, but a record (as I understand it) is
something like

   TMyRec = record
     StrField: string;
     IntField: integer;
     BoleanField: boolean;
   end;

What would you iterate/enumerate in that?  I can understand iterating an
"array of TMyRec", but not TMyRec itself.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to