Article View: net.micro.trs-80
Article #658mbasic(6000) ON BREAK bug
From: 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
Technical Details
Message-ID:
<-3790781@bles>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ihnp4!inuxc!pur-ee!uiucdcs!convex!bles!wtbShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ihnp4!inuxc!pur-ee!uiucdcs!convex!bles!wtb From: wtb@bles.UUCP Newsgroups: net.micro.trs-80 Subject: mbasic(6000) ON BREAK bug Message-ID: <-3790781@bles> Date: Fri, 26-Sep-86 18:24:00 EDT Article-I.D.: bles.-3790781 Posted: Fri Sep 26 18:24:00 1986 Date-Received: Sat, 4-Oct-86 06:14:29 EDT Lines: 32 Nf-ID: #N:bles:-3790781:000:953 Nf-From: bles.UUCP!wtb Sep 26 17:24:00 1986