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 BBx

(BBx, PRO/5, Visual PRO/5 and BBj)

Date:01/03/11
Author:Stephan Wald
URL:http://www.basis-europe.eu
Comments:0
Info:http://www.basis.com
Score: (3.33 in 3 votes)
0010 REM "99 Bottles of Beer"                                                 
0020 REM "BBx / (Visual) PRO/5 Version - www.basis.com, www.basis-europe.eu"  
0030 FOR BOTTLES=99 TO 2 STEP -1                                              
0040 PRINT BOTTLES," bottles of beer on the wall, ",BOTTLES," bottles of beer."                     
                                                  
0050 PRINT "Take one down and pass it around, ",                              
0060 PRINT BOTTLES-1," bottle",                                               
0070 IF BOTTLES>1 THEN PRINT "s",                                             
0080 PRINT " of beer on the wall."                                            
0090 PRINT 'LF',                                                              
0100 NEXT BOTTLES                                                             
0110 PRINT " 1 bottle of beer on the wall, 1 bottle of beer."                 
0120 PRINT "Take one down, pass it around, no more bottles of beer on the wall."                    
                                                  
0130 PRINT 'LF',                                                              
0140 PRINT "No more bottles of beer on the wall, no more bottles of beer. "   
0150 PRINT "Go to the store and buy some more, 99 bottles of beer on the wall."

Download Source | Write Comment

Alternative Versions

Comments

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: