Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language Biferno

Date:01/29/11
Author:Dalian IXIA
URL:n/a
Comments:0
Info:http://www.tabasoft.it/biferno/index.bfr
Score: (3.33 in 3 votes)
<?biferno
    for(i=99; i+1; i--){
        j = i ? i.ToString() : "No more"
        k = i > 1 ? (i-1).ToString() : (i ? "no more" : "99")
        s = i != 1 ? "s" : ""
        $(j + " bottle" + s + " of beer on the wall, " + j.UpToLower() + " bottle" + s + " of
beer.<br>\n"
        + (i ? "Take one down and pass it around" : "Go to the store and buy some more")
        + ", " + k + " bottle" + (k != "1" ? "s" : "") + " of beer on the wall.<br><br>\n")
    }
?>

Download Source | Write Comment

Alternative Versions

Comments

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!

Name:

eMail:

URL:

Security Code:
  
Comment: