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 WebDNA

Date:04/20/05
Author:Rob Marquardt
URL:n/a
Comments:0
Info:http://www.smithmicro.com/
Score: (2.92 in 13 votes)
[!]

WebDNA is a webserver-side language used in
the product of the same name by Smith Micro Software
<http://www.smithmicro.com/>
Code by Rob Marquardt, 5/17/2002

[/!]

<HTML>

[loop start=99&end=0&advance=-1]

[text]bottles=[index] bottle[showif [index]!1]s[/showif][/text]

[hideif [index]=99][bottles] of beer on the wall.<br><br>[/hideif]

[if [index]!0]
[then]
[bottles] of beer on the wall, [bottles] of beer<br>
Take one down, pass it around...<br>
[/then]
[else]
No more bottles of beer on the wall, no more bottles of beer<br>
Go to the store, buy some more...<br>
99 bottles of beer on the wall.
[/else]
[/if]

[/loop]

</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: