[q2x] OT: Lua questions

Brian Hook hook_l at pyrogon.com
Thu Jan 22 13:44:13 EST 2004


> At compile time loadstring/dostring and loadfile/dofile return an
> error number.

I'm actually calling lua_dobuffer(), in case that makes a difference.

> At runtime you're probably using lua_pcall to call update? E.g.

Actually I was using lua_call, but I'll switch to pcall now, thanks!

Brian





More information about the q2x mailing list