Language Sbasic
(Sesame Databases)
| Date: | 11/18/05 |
| Author: | Bob Hansen |
| URL: | http://www.sensiblesolutions.org |
| Comments: | 0 |
| Info: | http://www.sesamedatabase.com/ |
| Score: |
var n as Int
var t as Int //Time delay between line prints (1000 = 1 second)
var vBottle as String
t=20
For n = 99 downto 1
If n=1 Then vBottle = " bottle" else vBottle = " bottles"
WriteLn(n + vBottle + " of beer on the wall,")
Loiter(t)
WriteLn(n + vBottle + " of beer,")
Loiter(t)
WriteLn("Take one down and pass it around,")
Loiter(t)
WriteLn(n + vBottle + " of beer on the wall." + @NewLine() )
Loiter(t)
Next
WriteLn("......hic.........hic, hic..........hic")
WriteLn("Set 'em up again, Sam")
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