onerrlbl.bas
来自「这是一个简易的basic语言解释器, 可供我们学习和改进.」· BAS 代码 · 共 13 行
BAS
13 行
rem onerrlbl.bas -- test bwBASIC ON ERROR GOSUB statement with labelprint "Test bwBASIC ON ERROR GOSUB statement"on error gosub handlerprint "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"endhandler:print "This is the error handler"print "The error number is ";errprint "The error line is ";erlreturn
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?