' COCOA version of 99 Bottles of beer (Bottles.cocoa) ' See http://www.mcmanis.com/~cmcmanis/java/javaworld/examples/BASIC.html ' Philipp Winterberg, http://www.winterbergs.de ' ' How to use: ' 1. Go to http://www.mcmanis.com/~cmcmanis/java/javaworld/examples/BASIC.html ' 2. Copy only the code line below (it is a single line!) ' 3. Paste it into COCOA window ' 4. Press enter and enjoy ;) for b=99 to 1 step -1:print b;" bottle(s) of beer on the wall,":print b;" bottle(s) of beer.":print "Take one down, pass it around,":print (b-1);" bottle(s) of beer on the wall.":print " ":next b