Language Commodore 64 BASIC (V2)
(C64 version.)
Date: | 05/28/07 |
Author: | Nicholas Kingsley |
URL: | http://www.nicholaskingsley.co.uk |
Comments: | 5 |
Info: | http://en.wikipedia.org/wiki/Commodore_BASIC |
Score: | ![]() |
10 FOR B=99 TO 1 STEP -1 20 GOSUB 100 30 T$=T$+" OF BEER ON THE WALL" 40 PRINT T$;", ";T$ 50 PRINT "TAKE ONE DOWN AND PASS IT AROUND, " 60 IF B-1<=0 THEN PRINT "NO MORE BOTTLES OF BEER ON THE WALL":GOTO 80 70 GOSUB 200:PRINT " OF BEER ON THE WALL" 80 PRINT:NEXT 91 PRINT "GO TO THE STORE AND BUY SOME MORE, 99 BOTTLES OF BEER ON THE WALL" 92 END 100 T$=STR$(B)+" BOTTLE":IF B>1 THEN T$=T$+"S" 110 RETURN 200 A=B-1:PRINT STR$(A)+" BOTTLE"; 210 IF A>1 THEN PRINT "S"; 220 RETURN
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments
a very good feeling comes around my stomack(?) when i see this
Commodore BASIC as a Scripting Language for UNIX and Windows - now Open Source
http://www.pagetable.com/?p=48