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 Knowledge Fusion

Date:09/20/10
Author:Jonathan Lund
URL:http://www.garafa.com
Comments:0
Info:http://www.plm.automation.siemens.com/en_us/products/nx/prog_custom/kbp.shtml
Score: (2.67 in 3 votes)
@{
	$bob << " bottles of beer";
	$wall << " on the wall!";
	$pass << " take one down, pass it arround... ";
	Loop{
		for $i from 99 to 1 by -1;
		do ug_printValue(format("%d",$i) + $bob + $wall
			+ ", " + format("%d",$i)+ $bob + "!"
			+ $pass + format("%d",$i) + " more"
			+ $bob + $wall);
	};
	ug_printValue("No more bottles of beer on the wall!");
	true;
};

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: