feat: execute break and continue in while loops

This commit is contained in:
2026-10-10 01:26:32 +02:00
parent 0add5ab187
commit d51ca57c9e
16 changed files with 612 additions and 21 deletions
+13
View File
@@ -0,0 +1,13 @@
main proc() int {
number := 0
total := 0
while true {
number = number + 1
if (number == 3) continue
if (number > 5) break
total = total + number
}
return total
}