lua-users home
lua-l archive

Re: I'd give my right arm for a continue statement

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Axel Kittenberger once stated:
> On Fri, Jan 28, 2011 at 8:48 PM, Sean Conner <sean@conman.org> wrote:
> > In C, a continue in a "do ... while" skips the conditional test.
> 
> It doesn't skip the conditional test.
 D'oh! When I was playing around with this yesterday, my do ... while
loops behaved as I expected, but that's because the condition clauses
weren't constructed to show this behavior properly. 
 Sigh.
 Okay, *now* I see the issue (and I don't agree that local variables to the
repeat ... until construct should be visible to the until statement but ah
well ... ). 
 -spc (Sorry for the noise)

AltStyle によって変換されたページ (->オリジナル) /