Thread View: net.micro.trs-80
1 messages
1 total messages
Started by wtb
Fri, 26 Sep 1986 22:24
mbasic(6000) ON BREAK bug
Author: wtb
Date: Fri, 26 Sep 1986 22:24
Date: Fri, 26 Sep 1986 22:24
32 lines
1468 bytes
1468 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads