[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: "continue" construct in Lua loops
- From: Javier Guerra <javier@...>
- Date: Thu, 21 Dec 2006 08:32:53 -0500
On Thursday 21 December 2006 8:21 am, Roberto Ierusalimschy wrote:
> > Is there a more elegant way?
> No :( (At least you can be confident that the generated opcode is
> as good as for a primitive continue ;)
i guess both metalua's and token filter's wizards will soon present their
but this is not the first time this has been discussed. i beleive there was a
serious semantic problem; but i can't remember it now
i'd really wish there was a 'continue' statement, in fact i've been using deep
if's, for me the 'break out of repeat' construct is an improvement!!
Description: PGP signature