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 TANGO

Date:04/20/05
Author:Wes Bramhall
URL:n/a
Comments:0
Info:n/a
Score: (3.01 in 202 votes)
<@comment>
TANGO (Witango) version of 99 bottles of beer.
Author: Wes Bramhall
</@comment>
<html>
	<head>
		<title>99 Bottles of Beer</title>
	</head>
	<body>
		<@for start="1" stop="99">
			<@calc expr="100-<@currow>"> bottle<@if
expr="<@currow>!= 99">s</@if> of beer on the wall,
			<@calc expr="100-<@currow>"> bottle<@if
expr="<@currow>!= 99">s</@if> of beer.<br>
			Take one down, pass it around,
			<@if expr="<@currow>!=99">
				<@calc expr="100-<@currow>-1"> bottle<@if
expr="<@currow>!= 98">s</@if> of beer on the wall.<br>
			<@else>
				0 bottles of beer on the wall.<br>
				BUY MORE BEER!
			</@if>
		</@for>
	</body>
</html>

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: