Hi all,

Is it possible to get the line number of the parent script of a subroutine ???

ok, let me explain that a little better.

I have a script that includes a separate file for functions.

In a particular function, if a query gets an error, write out a log file that explains the error.

The thing I am trying to determine is from what line the call was made from the parent script to the subroutine.

I know that I can get the line number of the current script, but that doesn't tell me where the function was called from...

Hope I explained that correctly,

Thanks,

Tim.






SimpleNet's Back ! http://www.simplenet.com/

Reply via email to