Some Lua questions

Started by
1 comment, last by Impz0r 21 years ago
Hi, Ok i''ve got the Lua 5 Beta version recently and noticed that they added threads which is a cool thing because i missed the possibility of unloading a script and i suppose it would be possible with the use of threads. But i was wondering where on earth the "lua_closethread()" function is hidden?! Maybe the function will be added to the Lua 5 release version?! Is there another way to unload a script?! Ok another thing i was wondering about, if something went wrong with the compilation of a lua script, lua throws an error, call the panic function and exit the program, but i wont exit my program Is there a way not to exit the program?! Thanks alot Mfg Impz0r
Stay Evil & Ugly!
Advertisement
Anyone?!
Stay Evil & Ugly!
I haven''t used LUA5 yet, but in LUA4 you would declare your own _PANIC or _ERROR function, so that your function would be called instead of the default one (which calls exit() )

This topic is closed to new replies.

Advertisement