You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
ortill
to use in place ofto
, for loops not including final value.The text was updated successfully, but these errors were encountered: