To skip the remaining part of a loop statement and continue from the beginning of the loop, use the continue statement:
var n = 0
loop {
if n == 10:
continue
PRINT String.forInteger(n)
n++
}
(prints all numbers except 10)
To skip the remaining part of a loop statement and continue from the beginning of the loop, use the continue statement:
var n = 0
loop {
if n == 10:
continue
PRINT String.forInteger(n)
n++
}
(prints all numbers except 10)