sannybuilder / dev

Sanny Builder Bug Tracker and Roadmap development
https://sannybuilder.com
49 stars 0 forks source link

Introduce for-until loop #340

Open MiranDMC opened 3 months ago

MiranDMC commented 3 months ago

Currently we have for - to loops which performs <= as end condition. This is problematic as in SCM arrays are 0-idexed, so i < count is desirable loop type in multiple scenarios.

As changing existing behavior is unacceptable I propose introducing new keyword until or till to use in place of to, for loops not including final value.