Is there a way---not using DebugOutput()---to identify which function called a new function, and what input position of the first function initiated the call to the second function?
By way of example, if I have these two functions...
Code: Select all
Function p_FirstFunction(x, y)
x=y/4
EndFunction
Function p_SecondFunction(x)
x=x*2
EndFunction
p_FirstFunction(3, p_SecondFunction(7))
...is there a way that I can add some code to p_SecondFunction(x) so that it knows that it was p_FirstFunction(x, y) that called it, and that the call came from the second input position?
Thanks,