[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: Pierre-Yves Gérardy <pygy79@...>
- Date: Mon, 24 Jan 2011 00:24:30 +0100
On Sun, Jan 23, 2011 at 19:16, Mark Hamburg <mark@grubmah.com> wrote:
> I would say I don't really care about this issue all that much, but I do use the break as continue trick a bit more often than feels legitimate for someone who doesn't care.
Do you mean
repeat local continue
while cond1 do
...
if cond2 then continue = 1; break; end
...
end
until ~continue ;
That's nifty :-)
-- Pierre-Yves
- References:
- I'd give my right arm for a continue statement, Steve Litt
- Re: I'd give my right arm for a continue statement, steve donovan
- Re: I'd give my right arm for a continue statement, HyperHacker
- Re: I'd give my right arm for a continue statement, Michal Kottman
- Re: I'd give my right arm for a continue statement, steve donovan
- Re: I'd give my right arm for a continue statement, Axel Kittenberger
- Re: I'd give my right arm for a continue statement, David Kastrup
- Re: I'd give my right arm for a continue statement, GrayFace
- Re: I'd give my right arm for a continue statement, T T
- Re: I'd give my right arm for a continue statement, David Kastrup
- Re: I'd give my right arm for a continue statement, Mark Hamburg