Sushiscript/sushiscript

Condition in `for` isn't been recaculated

Opened this issue · 0 comments

define a = 0
for a < 1024:
  a = a + 1
  ! echo ${a}

Then it will echo number bigger than 1024, which is because the condition a < 1024 hasn't been recaculated.