[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: I'd give my right arm for a continue statement
- From: Sean Conner <sean@...>
- Date: Fri, 28 Jan 2011 14:59:25 -0500
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)
- References:
- Re: I'd give my right arm for a continue statement, Alexander Gladysh
- Re: I'd give my right arm for a continue statement, steve donovan
- Re: I'd give my right arm for a continue statement, Roberto Ierusalimschy
- Re: I'd give my right arm for a continue statement, Axel Kittenberger
- Re: I'd give my right arm for a continue statement, Axel Kittenberger
- Re: I'd give my right arm for a continue statement, Lucas Zawacki
- Re: I'd give my right arm for a continue statement, Sean Conner
- Re: I'd give my right arm for a continue statement, Tony Finch
- Re: I'd give my right arm for a continue statement, Sean Conner
- Re: I'd give my right arm for a continue statement, Axel Kittenberger