print "loop started" i=1 do print "i is";i i=i+1 if i>10 then exit do loop print "loop ended"