> Is there any Lua programming idiom that could be used to emulate goto > behaviour [...]? You can try tail calls. Have a look at http://lua-users.org/lists/lua-l/2003-06/msg00454.html -- Roberto