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*.


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to