[fpc-pascal] How to get address of MyFunction in MyFunction?

Žilvinas Ledas zilvinas.ledas at dict.lt
Sun Jul 18 12:11:22 CEST 2010


Hello all,

to get address of function I can use @MyFunction, but if I use it within 
MyFunction - I get address of Result. How can I get address of current 
function? (It's not for assigning to something else. It is for a kind of 
self modifying code.)

Regards
Žilvinas Ledas



More information about the fpc-pascal mailing list