Language BlitzBasic
Date: | 09/20/05 |
Author: | Hitsch Meyer |
URL: | n/a |
Comments: | 3 |
Info: | http://www.blitzbasic.com |
Score: | (2.35 in 23 votes) |
; BlitzBasic version of 99 bottles of beer ; Modified by Hitsch Meyer ; from prior version found on this site. ; (Modified to a correct code) ; AppTitle "99 Bottles" Graphics 640,480,0,2 SetBuffer BackBuffer() ; Global bottles%=99 ; While Not (Bottles=1) Cls Text 10,15,bottles + " bottles of beer on the wall " + bottles + " bottles of beer" Text 30,30,"Take one down, pass it around," bottles=bottles-1 Flip Delay 333 Wend ; Cls Text 10,15,"1 bottle of beer on the wall, one bottle of beer" Text 30,30,"no more bottles of beer on the wall." Flip Delay 3000 ; End
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
nazlfrag said on 09/20/08 08:21:52
You could have at least thrown in SUBQ #1,bottles. No BlitzBasic is complete without some inline assembler. *sigh* now I'm all nostalgic...
FireballFlame said on 07/10/09 06:55:51
Inline assembler in BlitzBasic? What are you talking about??
barrym said on 05/30/10 04:28:30
What exactly does "modified to a correct code" mean?
I can state from simple inspection that it cannot possibly
mean "modified to a correct output"!