On Wed, 24 Nov 2004, Cameron Kaiser wrote:
Here's one for you:
10 PRINT "HELLO WORLD!"
20 GOTO 10
Anybody who contributes will get a copy of the
book, of course.
Thanks!!
:)
Can I have:
10 GOTO 10
for the version with screensaver?*
Wow, that's the first BASIC I've written in about ten years :)
*I have no idea if the Apple 1 clears the display prior to running a
program. It probably doesn't...
Fine, make it
10 HOME
20 GOTO 10
Where do I send my mailing address? ;)
There was no HOME command in the original Apple-1 BASIC. The screen was
not memory-mapped. You would have to print enough carriage returns (16 I
believe) to push every line of text off the screen to clear it.
--
Sellam Ismail Vintage Computer Festival
------------------------------------------------------------------------------
International Man of Intrigue and Danger
http://www.vintage.org
[ Old computing resources for business || Buy/Sell/Trade Vintage Computers ]
[ and academia at
www.VintageTech.com || at
http://marketplace.vintage.org ]