How to use 'for loop' in Xenforo 2.0 language (templates.xml)
For example pseudocode:
Someone can convert this pseudocode to Xenforo 2.0 templates.xml language?
Thanks all.
For example pseudocode:
Code:
// create $n and $i local variables, do action while $i < 100
<xf:for var="$n = 0; $i = 0" while="$i < 100" do="$i++">
// set $n as $i % 10
<xf:set var="$n" value="$i % 10" />
//... do something with $n ($i % 10) and $i local variables ...
</xf:for>
Someone can convert this pseudocode to Xenforo 2.0 templates.xml language?
Thanks all.