[fpc-devel] Delphi anonymous methods
Vasiliy Kevroletin
kevroletin at gmail.com
Sun Mar 3 11:23:41 CET 2013
On 03/03/2013 09:11 PM, Sven Barth wrote:
> On 03.03.2013 06:08, Vasiliy Kevroletin wrote:
>>
>>> Do you have any ideas how and why such behaviour implemented ?
>>>
>> Now I can answer my question myself. *Local variables of anonymous
>> method are located on stack*.
>
> I would have wondered about the state of mind of the Embarcadero
> developers if it would have been different :P
>
Yes, now I don't sure how I did such assumption. May be I was under
expression of fact that SizeOf(TProc) = 4 (on 32-bit machine).
More information about the fpc-devel
mailing list