Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language apple 1 basic

(basic found on a 1976 apple 1)

Date:03/15/08
Author:Robbie Robbinson and Adam Nunn
URL:n/a
Comments:1
Info:n/a
Score: (2.68 in 25 votes)
1 REM A SUBSTANTIAL PART TAKEN 
2 REM FROM THE BASIC EXAMPLE.
3 REM FIXED S GRAMMAR AND 
4 REM FORMATED TO FIT APPLE 1
5 REM SCREEN
6 REM
7 REM PROGRAMED ON THE APPLE 1
8 REM REPLICA BY VINCE BRIEL.
9 REM 
10 FOR X=99 TO 1 STEP -1
20 Y=X-1
30 PRINT X;" BOTTLE";
40 IF X#1 THEN PRINT "S";
50 PRINT " OF BEER ON THE WALL,"
60 PRINT X;" BOTTLE";
70 IF X#1 THEN PRINT "S";
80 PRINT " OF BEER"
90 PRINT "TAKE ONE DOWN AND PASS IT AROUND,"
100 PRINT X-1;" BOTTLE";
110 IF Y#1 THEN PRINT "S";
120 PRINT " OF BEER ON THE WALL"
130 PRINT ""
140 NEXT X
150 END

Download Source | Write Comment

Alternative Versions

Comments

>>  Orange Marques said on 08/12/08 16:42:33

Orange Marques Good. I learn programme in basic - apple IIe.

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!

Name:

eMail:

URL:

Security Code:
  
Comment: