From: Joel VanderWerf Date: 2008-09-07T13:04:31+09:00 Subject: Re: while loop : execute code and THEN check condition Adam Akhtar wrote: > Im sure this was possible in C but in ruby i couldnt find something > similiar. > > I want a control structure which will execute the code first and then > check if the condition is true or not. something like > > do > > something > > while (condition) begin something end while condition -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407