[fpc-devel] Delphi anonymous methods

Graeme Geldenhuys graeme at geldenhuys.co.uk
Mon Mar 4 11:50:44 CET 2013


On 2013-03-04 10:27, Michael Schnell wrote:
> 
> It does make sense to allow for a kind of class that does not need to 
> reside on the heap and, (residing on the stack or global space)

And that is exactly what the Object type [already] does... and was
introduced into the language in Turbo Pascal v5.5 (if I got the version
right).

http://www.freepascal.org/docs-html/ref/refse25.html#x61-680005.1


I still use the Object type to this day for performance or ease of use.


Regards,
  - Graeme -

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




More information about the fpc-devel mailing list