Language DHTML (Duo html)
(Webscripting language of Duo NV)
Date: | 01/12/06 |
Author: | Kevin Velghe |
URL: | http://www.duo.be |
Comments: | 2 |
Info: | http://www.duo.be |
Score: | (3.00 in 9 votes) |
<$- Duo HTML -$> <html> <head> <title>99 Bottles of Beer</title> </head> <body> <$SET looper 100> <$LOOP looper> <$ESET nr 100> <$CALC nr - $looper.#> <$ESET nr $nr.atoi()> <$ESET nrnext $nr> <$CALC nrnext - 1> <$ESET nrnext $nrnext.atoi()> <$IF nr = 0> No more bottles of beer on the wall, no more bottles of beer.<br> Go to the store and buy some more, 99 bottles of beer on the wall.<br> <$ELSE> <$IF nr > 1><$SET bottles "bottles"><$/IF> <$IF nr = 1><$SET bottles "bottle"><$/IF> <$DVAL0 nr> <$VAL bottles> of beer on the wall, <$DVAL0 nr> <$VAL bottles> of beer.<br> Take one down and pass it around, <$IF nrnext > 0> <$IF nrnext > 1><$SET bottles "bottles"><$/IF> <$IF nrnext = 1><$SET bottles "bottle"><$/IF> <$DVAL0 nrnext> <$VAL bottles> <$ELSE> no more bottles <$/IF> of beer on the wall.<br> <$/IF> <br> <$/LOOP> </body> </html>
Download Source | Write Comment
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
RW27Konnie said on 01/28/10 12:23:31
It involves a long period of time to add your superior topic like this good post manually. Therefore, <a href="http://www.4submission.com">submit article</a> service and free article submission exist with that aim and you should utilize it.
kasper666 said on 02/25/10 11:30:28
It seems tobe not really esay to write such smashing outcome close to this topic. But smart students always come to <a href="http://www.essayscentre.com">writing service</a> to buy the academic essay writing.