Language Mercur
Date: | 07/05/05 |
Author: | Johan Lindemann |
URL: | n/a |
Comments: | 0 |
Info: | http://www.mercur.com |
Score: | (2.00 in 3 votes) |
def dfB=99 newtab; coln Song; Song string " "; &tab norownames Song=substring((dfB-rcum(transp((0,1,0):*(dfB-1),0,1))) 1 8)+" bottle" when transp((1,1,0):*dfB) Song=Song+"s" when (Song <> "1 b*") and (Song <> 0/0) Song="no more bottles" when Song equal "0 b*" Song=Song+" of beer on the wall, "+Song+" of beer." when rshift(1 Song) equal 0/0 Song="Take one down, pass it around, "+Song+" of beer on the wall." when rshift(-1 Song) equal 0/0 textf('dfB'+" bottles of beer") title 99 print
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