lua-users home
lua-l archive

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


On Thu, 18 Feb 2010 20:20:34 -0500
Doug Currie <doug.currie@gmail.com> wrote:

> On Feb 18, 2010, at 7:06 AM, David Kastrup wrote:
> 
> > Different semantics in repeat-until from the C semantics (and strictly
> > speaking, C does not have something called repeat-until anyway) for
> > "continue" are something I continue to claim as useful.
> 
> Yes. I would also expect continue to return to the top of the repeat loop. It's a much more useful option than jumping to the until-test, and avoids the scoping issue, as you pointed out.
> 
> -- e

I fully agree with this behaviour. Is the (only?) obstacle to the introduction of "continue" then suppressed, if we can agree with this semantics?

Denis
________________________________

la vita e estrany

http://spir.wikidot.com/