Language PureBasic
(standard version)
| Date: | 04/20/05 |
| Author: | Philipp Winterberg |
| URL: | http://www.winterbergs.de/ |
| Comments: | 0 |
| Info: | http://www.purebasic.com/ |
| Score: |
; PureBasic version of 99 Bottles of beer (Bottles.pb)
; See http://www.purebasic.com/
; Philipp Winterberg, http://www.winterbergs.de
OpenConsole():ConsoleColor(0,15):a$=" bottle(s) of beer"
ConsoleTitle("99"+a$):c$ = " on the wall":ClearConsole()
For b = 99 To 1 Step -1
PrintN(" "+Str(b)+a$+c$+","):PrintN(" "+Str(b)+a$+".")
PrintN(" Take one down, pass it around,")
PrintN(Chr(32)+Str(b-1)+a$+c$+Chr(46)):PrintN(Chr(32))
Next b
Input():End
Download Source | Write Comment
Alternative Versions
| Version | Author | Date | Comments | Rate |
|---|---|---|---|---|
| GUI version | Anonymous | 04/20/05 | 1 | |
| Musical Version | Gary Willoughby (Kale) | 11/02/06 | 0 |
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