|
|
||
|
Hallo, On 5/11/06, Robert Osfield <robert.osfield@gmail.com> wrote:
The bit I'm currently perplexed by is how to report back errors that occur
in the Lua scripts - when errors, in my C++ code I have:
int result = luaL_dofile(L, "frame.lua");
You should first load you script, and then run it with
lua_pcall(). This way you can catch errors and report them.
--
-alex
http://www.ventonegro.org/