lua-users home
lua-l archive

Re: upcoming changes in Lua 5.2 [was Re: Location of a package]

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


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

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