¿ªÔÆÌåÓý

Re: Additional Help Files


 

¿ªÔÆÌåÓý

Mark,

I feel its a pretty poor port. I don¡¯t think its been tested properly. The open error code is because its opening a file, we don¡¯t get the name because of the hacks to get PDPCLIB working. Perhaps the PDPCLIB run time needs fixing.

Just double up the double quotes.

Dave

?

?

From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: 25 January 2022 03:25
To: [email protected]
Subject: Re: [h390-vm] Additional Help Files

?

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.

Join [email protected] to automatically receive all group messages.