BASIC CHR 205.5

From Maze

(Difference between revisions)
Jump to: navigation, search
(New page: 10 PRINT CHR$(205.5+RND(1)); : GOTO 10 This is a one-line adaptation that uses the same method as the [[media:C64 Users Guide 53.png|three-line version in the ''Commodore 64 User's Guid...)
Line 3:Line 3:
This is a one-line adaptation that uses the same method as the [[media:C64 Users Guide 53.png|three-line version in the ''Commodore 64 User's Guide'']], which is from 1982 and is the earliest known published version of the program.
This is a one-line adaptation that uses the same method as the [[media:C64 Users Guide 53.png|three-line version in the ''Commodore 64 User's Guide'']], which is from 1982 and is the earliest known published version of the program.
−
The C64 supports abbreviations for keywords -- "?" for "PRINT" and generally unshifted first letter shifted second letter for other keywords. It seems that you also don't have to use spaces in a BASIC pretty much anywhere.
+
The C64 supports abbreviations for keywords -- "?" for "PRINT" and generally unshifted first letter shifted second letter for other keywords. It seems that you also don't have to use spaces in a BASIC program pretty much anywhere.
So if you type this on a C64, you'll input the program using only 22
So if you type this on a C64, you'll input the program using only 22

Revision as of 11:31, 26 May 2010

View this revision of BASIC CHR 205.5.

Personal tools