TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: MARCEL VELDHUIZEN
from: TIM HUTZLER
date: 1996-08-22 20:56:00
subject: Re: PB 3.0a Vs 3.2

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.