Obtaining the Source of a FunctionHi,
I have a file manipulation function which can be called from one of two functions and I want to be able to know which function the file manipulation function was called from. Is there a function / way of finding this out in JSL?
Any help would be appreciated.
Re: Obtaining the Source of a FunctionYou need to either pass in a variable that contains the information as to where it was called from, or set a global variable that has its value set just before the function is called, and then you query the value of the global variable from within the function.