<p>
Syntax: <span class="tt wims_code_words">\\for{var=\\m to \\n}{content}</span>, or<br/>
<span class="tt wims_code_words">\\for{var in \\list}{content}</span><p>
Where <span class="tt wims_code_words">var</span> can be any variable name, <span class="tt wims_code_words">\\m, \\n</span>
can be any integer, and <span class="tt wims_code_words">\\list</span> is a comma-separated list of items.
The <span class="tt wims_code_words">content</span> can make use of <span class="tt wims_code_words">var</span>.
<p>
For example,

<pre>\\for{tt=1 to 10}{
\\def{integer square=\\tt^2}
&#92;(\\tt^2) = \\square<br/>}</pre>

gives

\for{tt=1 to 10}{\def{integer square=\tt^2}\(\tt^2) = \square<br/>}
