[fpc-devel] Delphi anonymous methods

Boian Mitov mitov at mitov.com
Sun Mar 3 06:21:17 CET 2013


     Hi Vasiliy,

Just some additional info in case you are not aware.
Delphi implements the anonymous methods as interfaces, and that is how it 
keeps them alive.

With best regards,
Boian Mitov

-------------------------------------------------------
Mitov Software
www.mitov.com
-------------------------------------------------------
-----Original Message----- 
From: Vasiliy Kevroletin
Sent: Saturday, March 02, 2013 9:08 PM
To: FPC developers' list
Subject: Re: [fpc-devel] Delphi anonymous methods


Now I can answer my question myself. *Local variables of anonymous
method are located on stack*.





More information about the fpc-devel mailing list