From: Vivek Nallur Date: 2003-01-31T15:26:39+09:00 Subject: break out of a loop Is there an idiomatic(or more elegant way) of finding out whether I exited a loop normally or because of an exceptional condition? e.g 10.times{ # some processing #if (some condition) break end #further processing } # here i want to know if I came out because of the break or after looping 10 times. Of course, one could set a flag to do the same, but I was wondering if there was a 'better' way regs Vivek -- A closed mouth gathers no feet