Control Flow
Conditional Statements
| Feature |
Status |
Description |
if statement |
✅ |
Conditional |
if...else statement |
✅ |
If-else |
if...else if chain |
✅ |
Multiple conditions |
Nested if/else |
✅ |
Tested 2+ levels deep |
if as expression |
✅ |
Returns value from last line of block |
switch statement |
✅ |
Switch with cases and default |
switch as expression |
✅ |
Returns value |
Ternary operator ? : |
✅ |
Inline conditional |
Loops
| Feature |
Status |
Description |
for i = start to end |
✅ |
Range for loop |
for i = start to end by step |
✅ |
Range with step |
for item in collection |
✅ |
Array iteration supported |
while loop |
✅ |
While loops |
break |
✅ |
Exit loop early |
continue |
✅ |
Skip to next iteration |
Variable Declaration
| Feature |
Status |
Description |
var declaration |
✅ |
Persistent variable (init once) |
varip declaration |
✅ |
Intrabar persistent |