>When my error routine returns the line number of the offending line of code, how do I know what line to go to in the PRG? This is not a trick question. Is the line number returned take into account all the comment lines I have in the PRG? What about blank lines? I also can not get message[] or message[1] to return the actual code. And YES, I compiled the APP with the DEBUG INFO option checked.
>
>All I get from all the ON ERROR parameters, is Error#, program name, line # and the
syntax error message. AERROR[] is also no additional help.
>
>This is one b*tch of an error because I only get it in runtime so the debugger is not available. I hate when this happens.
>
>TIA!
Hi Mark,
I think it includes the comments and extended lines. One way to test for certain is to insert the ERROR command (after some comments and extended lines) with an error number and see what line number it reports. If it's the same as shown in the editing window, you'll know the answer.
George
Ubi caritas et amor, deus ibi est