lua-users home
lua-l archive

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


On 2010-01-31, Alexander Gladysh <agladysh@gmail.com> wrote:
> On Mon, Feb 1, 2010 at 02:15, GrayFace <sergroj@mail.ru> wrote:
>  > - I don't know anyone who doesn't use 'continue', at least from time to
>  > time.
> Me? I'm happy without it. As well as without repeat...until. But if it
> would be in a core language it would not ruin my day.

I can easily emulate 'repeat...until' with 'while', 'if' and 'break'.
On the other hand, I am not aware of any decent way to emulate
'continue' in Lua.
As far as my programming needs are concerned, I would welcome trading
repeat...until for 'continue'.

--Leo--