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 AMOS Professional

Date:04/21/06
Author: François Lionet
URL:n/a
Comments:1
Info:http://www.clickteam.com http://AmigaWorld.Net
Score: (2.84 in 38 votes)
Rem AMOS Professional (The Creator) Basic version for Commodore Amiga computers
Rem of "99 bottles of beer"
Rem There is a compiler available for this Basic.
Rem Written by Thierry Predavec
Rem This prints exactly the same output as seen at
Rem http://www.99-bottles-of-beer.net/lyrics.html
Rem (Assuming that the URL has not been changed, nor the output as of April 17, 2006)

B=99
Do
   Print str$(B)-" ";" bottles of beer on the wall,";B;" bottles of beer."
   Dec B
   Exit If B<2
   PRINT "Take one down and pass it around,";B;" bottles of beer on the wall.";Chr$(13)
Loop
Print "Take one down and pass it around, 1 bottle of beer on the wall.";Chr$(13)
Print "1 bottle of beer on the wall, 1 bottle of beer."
Print "Take one down and pass it around, no more bottles of beer on the wall.";Chr$(13)
Print "No more bottles of beer on the wall, no more bottles of beer."
Print "Go to the store and buy some more, 99 bottles of beer on the wall."

Download Source | Write Comment

Alternative Versions

Comments

>>  Amigo said on 11/04/06 14:47:23

Amigo 10 print "! AmigA RuleZ !"
goto 10

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: