Re: do-while style
- Posted by LonnyNettnay Aug 27, 2008
- 932 views
canadiancoder said...
Hi guys, I need a C style do/while loop or Pascal's repeat/until construct. How would the most elegant Euphoria version look like?
Thanks.
Do you need it for 3.1 or can you wait for 4.0?
In 3.1 you would use something like:
while 1 do -- do body of loop if <test condition> then exit -- while end while
In 4.0 just follow the link: http://openeuphoria.org/docs/eu400_0013.html#[98]loopuntilstatement