[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: upcoming changes in Lua 5.2 [was Re: Location of a package]
- From: Hisham <hisham.hm@...>
- Date: Sun, 24 Feb 2008 20:35:09 -0300
On Sat, Feb 23, 2008 at 8:45 PM, Mark Hamburg <mhamburg@adobe.com> wrote:
>
> on 2/23/08 3:19 PM, dcharno at dcharno@comcast.net wrote:
>
> > Shmuel Zeigerman wrote:
> >> I'm upset to find that adding 'continue' is not even being considered.
> >> (Just to let you know that there still are ones that miss it).
> >
> > Its one of the things we really miss when using Lua ...
>
> I've learned to write:
>
> while condition() do repeat
>
> if other_condition() then
> break -- continue
> end
>
> until true end
>
> But I always feel compelled to comment it when I do so.
Done that too, once... until I needed to really "break" in another
part of the loop.
-- Hisham