>Hi All,
>Is there a way to programmtically retrieve the current line of code, given a program? For example, if I have a procedure or class method that is called several times from a module, how can I determine what line of code launched it?
>
>I can't pass the value becuause the procedure is an ASSIGN method and AFAIK, it only accepts one parameter. I can get the program that called it by using Program(program(-1)-1) but I want the line number or the actual line of code that initiated the call.
>
>Any ideas?
Larry,
Interesting problem. Could you explain a little more about why you need to know this? It sounds like it may be an external coupling problem and there may be another approach to accomplish the ultimate goal.