4 ms·
Yes. Lua doesn't have continue or break in loops. But it has goto. That's one of the uses of it. It also has, IMO, a sane goto. You cannot jump to any label o
by Vaskivo 7y ago
Yes.
Lua doesn't have continue or break in loops. But it has goto. That's one of the uses of it.
It also has, IMO, a sane goto. You cannot jump to any label outside of the function you are running from.
https://www.lua.org/manual/5.3/manual.html#3.3.4 https://www.lua.org/manual/5.3/manual.html#3.3.4
- earenndil 7y agoC goto can't jump to another function either (except for longjmp, but that's a whole other story).