slige/examples/example_2.slg
2024-12-11 00:22:13 +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;
}