lua-users home
lua-l archive

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

On Sun, Jan 23, 2011 at 19:16, Mark Hamburg <> 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
    until ~continue ;

That's nifty :-)

-- Pierre-Yves