lua-users home
lua-l archive

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




Am 18.09.2018 um 20:15 schrieb Jim:
how about adding a "continue" statement to loops ?
(yes, i know it can be achieved with "goto")

Better leave the goto than open the can of worms with directional break and continue (break out of inner loop, continue with outer, or directly breal out of outer loop) The goto may be easier to understand, especially for people programming not so often.

I also wanted to have continue, but goto continue is OK to me.
--
Oliver