home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
PRG
/
bwbasic-2.10.sit
/
bwbasic-2.10
/
bwbtest
/
onerrlbl.bas
< prev
next >
Wrap
BASIC Source File
|
1993-11-09
|
392b
|
13 lines
rem onerrlbl.bas -- test bwBASIC ON ERROR GOSUB statement with label
print "Test bwBASIC ON ERROR GOSUB statement"
on error gosub handler
print "The next line will include an error"
if d$ = 78.98 then print "This should not print"
print "This is the line after the error"
end
handler:
print "This is the error handler"
print "The error number is ";err
print "The error line is ";erl
return