lua-users home
lua-l archive

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



> > Is there a more elegant way?
> No :(
i guess both metalua's and token filter's wizards will soon present their solutions.

There's a continue extension for metalua indeed, which is still unreleased (it relies on the codewalker lib, which is still under development). Moreover, it uses `Label{ } / `Goto{ } for implementation, which as pointed out by Roberto are currently buggy. The main advantage w.r.t. nesting a "repeat until true" control in the loop body is that you can use both "break" and "continue" in the same loop body.

Fabien.