[fpc-pascal] For..in enumerator for generic records?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Nov 30 12:19:13 CET 2016


On 2016-11-30 10:53, Ryan Joseph wrote:
> There’s a class nested inside a class?? I never saw that before.

Yeah, those were introduced in FPC 3.0.0 I believe - more Delphi
compatibility changes. I still don’t know if I like it though, but
understand its usage is meant if two classes are very close related. You
can now have nested classes (god knows how deep), constants, vars etc
all inside a class definition. The Delphi version of the Object Pascal
language is becoming pretty messy.

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



More information about the fpc-pascal mailing list