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
Copy file name to clipboardExpand all lines: documentation/language/05_control_flow.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,10 @@ Return statements are declared as `return {expression};`.
46
46
47
47
### For Loops
48
48
49
-
For loops are declared as `for {variable: type} in {lower bound}..{upper bound}`. The loop bounds must be integer constants of the same type. Furthermore, the lower bound must be
50
-
less than the upper bound. Nested loops are supported.
49
+
For loops are declared as `for {variable: type} in {lower bound}..{upper bound}`.
50
+
The loop bounds must be integer constants of the same type. Furthermore, if
51
+
the lower bound is superior or equal to the upper bound, the loop will result in no operations.
0 commit comments