lua-users home
lua-l archive

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

Sorry, my answer just now was for the question of Andrea... but I
recognized only after my answer that Egor gave a much better answer to
this... .

On Fri, May 13, 2022 at 7:18 AM Flyer31 Test <> wrote:
> Me also no programming language programmer, but I think it is quite
> clear that break and end are quite similar: They have to clean up all
> local variables of the current sub-stack.
> continue is quite different, it has to somehow "restart a loop" ...
> for this you need quite a bit of overhead I think. Though of course it
> could be somehow abbreviated by "goto end of loop", this also usually
> should be possible.