17452 Posts in 4473 Topics by 1971 members
|Go to End|
1 August 2008 at 5:11am
Can I compare two integers in a template? Want to check the position in a control Children loop. I.e.: <% if(Pos < 6) %>. That kind of thing. I can get away with <% if(Pos = 6) %> but the greater than and less than breaks it. How can I compare? Can't find syntax for this anywhere.
1 August 2008 at 7:19am
There's no support (yet, anyway) for greater/less than comparisons, but you could try checking the position with the $Pos variable in the template.
|Go to Top|