[Return to top]

Enhanced BASIC, example programs by Lee Davison
[Back]


Introduction
Here are some example programs that can be run under EhBASIC. They don't rely on any specific hardware and only need ASCII I/O to run properly.

Many of these programs are not original and, where the source is known, copyright messages have been included or left in place.

Additions, comments and suggestions always welcome. Enjoy.

The programs
Program Description HTML page Zipped source
hello.bas Classic 'hello world' program View
sine.bas Draws a sine curve down the display View
eliza.bas AI psychiatrist View Download
startrek.bas Classic 'Kill the Klingons' View Download
amazing.bas Generate random 2D mazes View Download

More to come ..


e-mail me [e-mail]
Last page update: 16th April, 2003.