Language COCOA
| Date: | 04/20/05 |
| Author: | Philipp Winterberg |
| URL: | http://www.winterbergs.de/ |
| Comments: | 2 |
| Info: | http://www.mcmanis.com/~cmcmanis/java/javaworld/examples/BASIC.html |
| Score: |
' 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
Download Source | Write Comment
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!
Comments