> 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