lua-users home
lua-l archive

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


+1, please add "continue" :)

On Sat, Jan 30, 2010 at 3:16 PM, Martin Poelstra <martin@beryllium.net> wrote:
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




--
Fernando P. García, http://www.develcuy.com
Developer - Analista de Sistemas
+51 1 9 8991 7871, Calle Santa Catalina Ancha #377, Cusco -Perú

** Antes de imprimir este mensaje piensa en tu compromiso con el medio ambiente, protegerlo depende de tí.