Language Cold Fusion
(cfscript)
Date: | 04/20/05 |
Author: | S. Isaac Dealey |
URL: | n/a |
Comments: | 1 |
Info: | n/a |
Score: | (2.67 in 9 votes) |
By S. Isaac Dealey <cfscript> for ( x = 99 ; x gt 1 ; x = x - 1) { WriteOutput("#x# bottles of beer on the wall...<br>#x# bottles of beer!<br>"); WriteOutput("Take one down, pass it around...<br>"; } WriteOutput("1 bottle of beer on the wall...<br>1 bottle of beer!<br>"); WriteOutput("Take one down, pass it around...<br>No bottles of beer on the wall"); </cfscript>
Download Source | Write Comment
Alternative Versions
Version | Author | Date | Comments | Rate |
---|---|---|---|---|
standard version | Steven Reich, Michael Dinowitz | 04/20/05 | 2 | |
UDF version | S. Isaac Dealey | 04/20/05 | 2 |
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
Mizdog said on 02/01/06 00:00:14
missing closing bracket on
WriteOutput("Take one down, pass it around...<br>";
should be
WriteOutput("Take one down, pass it around...<br>"