Language FreeMarker Template Language
Date: | 04/20/05 |
Author: | Stephan Mueller |
URL: | n/a |
Comments: | 0 |
Info: | n/a |
Score: | (2.86 in 7 votes) |
<#-- # 99 Bottles written in FTL # Stephan Mueller <stephan at chaquotay dot net> # # needs some lines written in Java which do nothing except merging # this template with an empty data model. # # For further information on FreeMarker and FTL (FreeMarker Template # Language), visit http://www.freemarker.org #--> <#assign s="s"> <#list 99..1 as bottles> ${bottles} Bottle${s} of beer on the wall, ${bottles} bottle${s} of beer Take one down and pass it around, <#if bottles!=2> <#assign s="s"> <#else> <#assign s=""> </#if> ${bottles-1} bottle${s} of beer on the wall <#flush> </#list>
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