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.
Currently we have for - to loops which performs
<=
as end condition. This is problematic as in SCM arrays are 0-idexed, soi < count
is desirable loop type in multiple scenarios.As changing existing behavior is unacceptable I propose introducing new keyword
until
ortill
to use in place ofto
, for loops not including final value.