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 LassoScript

Date:01/21/07
Author:Sage Statham
URL:http://www.sagescomputer.com
Comments:0
Info:http://www.omnipilot.com
Score: (2.90 in 10 votes)
<?LassoScript
	loop: -from = 99, -to = 0, -by = -1;
		if: (loop_count) > 1;
			loop_count + ' bottles of beer on the wall<BR>';
			loop_count + ' bottles of beer!<BR>';
			'You take one down, pass it around!<BR>';
		else: loop_count == 1;
			loop_count + ' bottle of beer on the wall<BR>';
			loop_count + ' bottle of beer!<BR>';
			'You take it down, pass it around!<BR>';
		else: loop_count == 0;
			'No bottles of beer on the wall<BR>';
			'No bottles of beer!<BR>';
			'You go to the store, gets some more, 99 bottles of beer on the wall!<BR>';
		/if;
		'<BR>';
	/loop;
?>

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: