From: Robert Dober Date: 2008-09-07T19:18:57+09:00 Subject: Re: while loop : execute code and THEN check condition Although begin ... end while condition is the idiomatic way to do this I often write my loops as follows loop do ... break if/unless condition ... end I prefer it even more if my code can be refactored to loop do ... return ... ... end Cheers Robert -- C'est véritablement utile puisque c'est joli. Antoine de Saint Exupéry