Closed flip111 closed 11 years ago
Implemented but with other syntax, example:
{let $x="1" $y="$foo + 1"}
// ...
{/let}
that's nice. Why would you use a seperate closing bracket for let though ?
I use closing bracket for a more clearly scope.
Since it's not a control structure .. would there be any advantage to put any code within let tags ? Right now i just have: {let $x="1" $y="$foo + 1"}{/let}
It is a control structure in cl-closure-template:
{template helloWorld}
{let $str="'Hello world!'"}
{$str} // Hello world!
{/let}
{$str} // nothing
{/template}
thanks for clearing that up. Excellent support thanks
When using
the following error occurs: