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 BASIC - TRS-80

(Removal of For Next and Use of String$)

Date:08/31/08
Author:Chaith
URL:n/a
Comments:1
Info:n/a
Score: (2.67 in 40 votes)
10 REM 99 Bottles of Beer
20 CLEAR 1000: X=99:LY$="Bottle":LX$=Bottles":LZ$=" of beer on the Wall.":LV$="Take one Down and
pass it around."
30 PRINTX;LX$+LZ$;X;LX$+LEFT$(LZ$,8)
40 PRINTLV$:X=X-1
50 IFX=1THENLX$=LY$
60 PRINTX;LX$+LZ$
70 IFX=0THEN END ELSE 30

Download Source | Write Comment

Alternative Versions

Comments

>>  barrym said on 04/07/10 06:09:42

barrym You forgot to send somebody to the store to buy some more...

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: