[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.2 and continue
- From: Martin Poelstra <martin@...>
- Date: Sat, 30 Jan 2010 21:16:54 +0100
On Mon, 2010-01-18 at 11:08 +0100, Klaus Ripke wrote:
> On Mon, Jan 18, 2010 at 12:00:49PM +0200, steve donovan wrote:
> > On Mon, Jan 18, 2010 at 11:54 AM, Natanael Copa <natanael.copa@gmail.com> wrote:
> > > On Wed, 2010-01-13 at 19:18 -0700, Joshua Jensen wrote:
> > >> I use continue almost every time I write a script, and it would sure
> > >> be nice to have it an integral part of the language.
> > >
> > > +1
> >
> > Ditto. Breaking the (rather odd) repeat..until semantics seems a small
> > price to pay. Plus, it will be easier to explain repeat..until ;)
>
> +1, given what is broken by 5.2 for much lesser reasons,
> it seems like a good opportunity to kill repeat..until, too,
> adding some incentive to upgrade.
+1, please??? :)
I too think the beauty of a 'continue' keyword beats the
local-variable-in-the-until-thingy by far...
Thanks from an otherwise perfectly happy Lua newcomer!
Martin