slige/runtime/example.slg
2024-11-20 22:12:12 +01:00

15 lines
147 B
Plaintext

fn add(a, b) {
+ a b
}
let result = 0;
let i = 0;
loop {
if >= i 10 {
break;
}
result = add(result, 5);
i = + i 1;
}