RosettaCodeData/Task/Flow-control-structures/Ring/flow-control-structures.ring

7 lines
91 B
Plaintext

i = 1
while true
see i + nl
if i = 10 see "Break!" exit ok
i = i + 1
end