MV> Hi Tim Hutzler, hope you are having a nice day
TH> The only thing I can think of is to intercept the BIOS call and
> screen the output for "run-time error at pgm-ctr xxxx" message.
> It not the most elegant approach I want to use.
MV> Nope, but it gets the job done... You could just scan the
> output-screen after execution is terminated..
I already considered that, but I found a *better* way: ERADR! I have a
LIB that I call 'ErrHandler.' I use ON ERROR to trap my run-time
errors, then POKE them into a scratch area. Upon return to my editor
I PEEK them and then run PBC /RExxxx to get the line number.
I works exactly the way I want it to.
___ Blue Wave/QWK v2.12
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 916-893-8079 * (1:119/88)
|