[net.micro.trs-80] mbasic

wtb@bles.UUCP (09/27/86)

I have recently installed   mbasic 1.02  on my Tandy 6000 -
one reason for me to do this was the availability of the
ON BREAK GOSUB
   command -
This seems to work alright when executing arithmetic and logical commands.
However, when I attempt to use it when the program is waiting for keyboard
input, it produces an error and dies:

10 ON BREAK GOSUB 100
20 PRINT "hello"
30 INPUT J
40 PRINT "hello2"
50 GOTO 20
100 RETURN

when waiting for input produces:

Device I/O error 
Fatal Error - BASIC Terminated

Of course the principal benefit of this command is to allow a true break as
well as to prevent an accidental striking of the key to interfere with
program execution for the un-inititated.  (I mean, nobody really gets in
endless loops anymore do they?)

Does anyone have a fix for this or a way around?
thanks

William T. Blessum,M.D.     (... {akgua|ihnp4}!petro!bles!wtb)
7950 Floyd Curl Dr #102     San Antonio, TX 78229-3955  (512)692-0977