Language Baan 3GL
| Date: | 04/20/05 |
| Author: | Stark Springs |
| URL: | n/a |
| Comments: | 0 |
| Info: | n/a |
| Score: |
|********************************************************
|* Run this from the Baan shell
|* By Stark Springs, 18th June 2002
|********************************************************
function main()
{
long wnd,i
wnd=new.window(22, 80, 1, 1)
scroll(wnd)
for i=99 to 1 step -1
print i, " bottle(s) of beer on the wall,", cr$(), lf$()
print i, " bottle(s) of beer.", cr$(), lf$()
print i-1, " bottle(s) of beer on the wall.", cr$(), lf$(2)
refresh(wnd)
endfor
message("")
}
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