Code : Tout sélectionner
Global p.l
Procedure pp1()
; I want To get the one who calls me
; I want To get the one who calls me
; I want To get the one who calls me
; I want To get the one who calls me
!mov [v_p],ebp
Debug Hex(p+4) ;ERRO
EndProcedure
Procedure pp2()
pp1()
EndProcedure
Debug "address:" + Hex(@pp2())
pp2()
Get the call pp2() function address
Gets the address of the calling function
or (PP2) the caller.
Can not use @