Monday 24 November 2003 1:31:31 am
This is a simple code:
{let a=1}
{section name=Index loop=5}
{set a=10}
{$a}<br>
{/section} {/let}
========>result:
1
1
1
1 1
But:
{let a=1}
{set a=10}
{section name=Index loop=5}
{$a}<br>
{/section}
{/let}
=======>result:
10
10
10
10 10
I don't know why two above results are different?
Thanks, Phi
|