on 4. januar 2000 Milos Prudek wrote :
With above corrections, you're code should read:
MP> This worked. Now, what if I need to assign again to the same variable: MP> <dtml-let Size="'big'"> MP> <dtml-let Size="'bi'"> MP> <dtml-if "Size=='big'"><h1></dtml-if> MP> Hello. MP> <dtml-if "Size=='big'"></h1></dtml-if> MP> </dtml-let> MP> It complains about let tag not being closed. Do I need to nest let tags? MP> It sounds silly... from the DTML-guide : [snip] The let tag is a new tag that lets you create blocks like: <!--#in "1,2,3,4"--> <!--#let num=sequence-item index=sequence-index result="num*index"--> <!--#var num--> * <!--#var index--> = <!--#var result--> <!--#/let--> <!--#/in--> [snip] .. so your exapmle could look like this : <dtml-let Size="'big'" Size2="'bi'" Size3="'small'"> <dtml-if "Size=='big'"><h1></dtml-if> Hello. <dtml-if "Size=='big'"></h1></dtml-if> </dtml-let> -- Geir B Hansen web-developer/designer geirh@funcom.com http://www.funcom.com