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

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Jul 18 12:50:18 CEST 2010


On 18 Jul 2010, at 12:11, Žilvinas Ledas wrote:

> 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?

@unitname.function (or @programname.function if you are in the main program file)


Jonas


More information about the fpc-pascal mailing list