How counting up a variable in range

after reading the reported issue and the coresponding discussion, maybe someone find my temporary workaround useful: don’t mix up fixed/raw numbers with calculated ones. Use only calculated…

instead of

{{ if eq ( mod $c 4 ) 1 }}

use:

{{ if eq ( mod $c 4 ) (add 1 0) }}

but {{ add 0 0 }} is not working for 0, use {{ sub 1 1 }} …

this works for me :wink:

1 Like