Control Flow¶
Conditionals: check and otherwise¶
Use check for if and otherwise for else:
The condition must be a boolean expression in parentheses.
While Loop: loopwhile¶
For Loop¶
C-style for loop with init, condition, and step:
For-Each Loop: foreach¶
item is a new variable in each iteration.
Break and Continue¶
stop— break out of loopskip— continue to next iteration
Comparison Operators¶
| Operator | Meaning |
|---|---|
== |
Equal |
!= |
Not equal |
<, <= |
Less than, less or equal |
>, >= |
Greater than, greater or equal |