1 2 3 4 5 6 7 8 9
print "loop started" i=1 do print "i is";i i=i+1 if i>10 then exit do loop print "loop ended"