Post Reply 
(71B) The Devil's Dungeon game
12-18-2019, 10:07 PM
Post: #2
RE: (71B) The Devil's Dungeon game
(12-18-2019 08:12 PM)smp Wrote:  The game, as listed in the book, relies on IF commands as the first command in a multi-command line. If the condition of the IF is true, then the rest of the multi-command line is executed, if the condition of the IF is false, the rest of the multi-command line is ignored. This is apparently not legal in HP-71B BASIC...

Unless I'm misunderstanding you, it is legal in HP-71 BASIC. For example:

IF 1=1 THEN DISP "TRUE" @ BEEP @ BEEP ELSE DISP "FALSE" @ BEEP

This displays TRUE and beeps twice. Change the 1=1 to 1=2 and it'll display FALSE and beep once.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(71B) The Devil's Dungeon game - smp - 12-18-2019, 08:12 PM
RE: (71B) The Devil's Dungeon game - Joe Horn - 12-18-2019 10:07 PM
RE: (71B) The Devil's Dungeon game - smp - 12-19-2019, 02:39 PM



User(s) browsing this thread: 1 Guest(s)