On Mon, Jan 24, 2022 at 09:14 PM, Mark A. Stevens wrote:
Part of trying to tidy things up, I am trying to test the commands. I'm having a problem running a simple BASIC program with BWBASIC.
Interactive mode seems a bit dodgy. I can use apostrophes (')? for print statements, but it doesn't execute. Use of quotes ("), they just disappear.bwbasic
?Bywater BASIC Interpreter/Shell, version 2.50
?Copyright (c) 1993, Ted A. Campbell
?Copyright (c) 1995-1997, Jon B. Volkoff
?
OPEN ERROR CODE '04' ON 'PDP000HD'.
10 rem Hello World Program
20 print Hello World.
30 end
list
bwBASIC: bwBASIC: bwBASIC: bwBASIC:????? 10: REM HELLO WORLD PROGRAM
???? 20: PRINT HELLO WORLD.
???? 30: END
run
bwBASIC:
ERROR in line 20: in bwb_exp(): incomplete expression.
20 print 'Hello World.'
list
bwBASIC: bwBASIC:????? 10: REM HELLO WORLD PROGRAM
???? 20: PRINT 'HELLO WORLD.'
???? 30: END
run
bwBASIC:
ERROR in line 20: in bwb_exp():? Error detected in parsing expression
?
bwBASIC:
Ready; T=0.04/0.06 21:23:27
?... Mark S.