>Hi Ed,
>
>Did you catch my reply to this, I meant to say...
>
>Is there a function that resembles Program() in that it can return currently running methos as well as what method called the current method, ect. I know you can watch the call stack, but I was curius.
>
If you fire PROGRAM()or SYS(16) from within a method call at least it returns CLASSNAME.METHODNAME; I'd assume that applied all the way up the call stack, since the code in my default error handler uses that approach to dump the callstack to a log when an unhandled error occurs.
>
>>you can write your own from PROGRAM() or SYS(16), by simply watching the return from (Program(n)) starting it arbitrarily high, and then watching the length of the return; PROG(n) for n > callstack depth returns an empty string.
>
>Does this still aplly to my question? As I thought I remebered Program() couldn't determine methods?