[fpc-pascal] Class vs Object type
pascaldragon at googlemail.com
Wed Apr 6 14:23:54 CEST 2016
Am 06.04.2016 13:23 schrieb "Graeme Geldenhuys" <
mailinglists at geldenhuys.co.uk>:
> I use Class and Object data types frequently in my code. I like the fact
> that Object data types can be used without first instantiating an
> instance and it gets freed automatically.
Note: with the modeswitch advandedrecords you can also use methods in
records which allows you to declare operator overloads that can also be
picked up by generics. (Just in case you'd need it)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal