ily
extended.  Let's say that we wanted to only count even numbers towards the sum.
We can do this easily with the <code class="mendoza-code">loop</code> macro.
</p>
<pre class="mendoza-codeblock"><code data-language="janet">(<span class="mdzsyn-coresym">var</span> <span class="mdzsyn-coresym">sum</span> <span class="mdzsyn-number">0</span>)
(<span class="mdzsyn-coresym">loop</span> [<span class="mdzsyn-symbol">i</span> <span class="mdzsyn-keyword">:range</span> [<span class="mdzsyn-number">0</span> <span c