From: Heesob Park Date: 2008-09-07T13:06:58+09:00 Subject: Re: while loop : execute code and THEN check condition 2008/9/7 Adam Akhtar : > 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) > -- > Posted via http://www.ruby-forum.com/. > > begin something end while condition Or begin something end until condition Regards, Park Heesob