Basic programming - The House in the Dunes by Derek Denton

Posted by RedGazelle64@reddit | learnprogramming | View on Reddit | 4 comments

I recently discovered that my great uncle wrote a few novels in the early 80's. After tracking a couple of them down, one book, "The House in the Dunes", has a programme written in basic at the end, based on the plot of the book. Here is the explanation text:

"The following program is based on the adventure you have just read.

It is written in a popular version of BASIC. Any unusual commands are explained, and alternatives are given. To run this program you will need a computer with a minimum of 32K RAM.

REM statements show you where the various proces-sing sections take place, enabling you to amend or add to the program. If you feel other readers will enjoy your amendments or additions, please send details to: MR ANDREW WARBURTON c/o John Goodchild Publishers 10 Mandeville Road Aylesbury, Bucks HP21 8AA

Publisher's Note: The publishers regret that they cannot enter into any direct correspondence about the program below. All enquiries should be addressed to Mr Andrew Warburton, as detailed above."

Following this, it begins:

"1 PUT 31 DIM DE(55) DIM (112) DIM H(9) IX-91Y-2217-81E-8 11 FOR 1-1 TO 55 12 READ S 13 08111-58"

This continues for quite a few pages.

Apologies if this is a dumb question as I know absolutely nothing about programming, but how would I go about getting this to run? Is it even possible? I can't post an actual photo of the pages unfortunately!