RosettaCodeData/Task/Loops-Do-while/E/loops-do-while.e
2023-07-01 13:44:08 -04:00

6 lines
112 B
Text

var x := 0
__loop(fn {
x += 1
println(x)
x % 6 != 0 # this is the return value of the function
})