lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I compile the scripts within my engine using luaL_loadstring.

You need to lua_pcall after luaL_loadstring. Or use luaL_dostring.

	"This function only loads the chunk; it does not run it."
	http://www.lua.org/manual/5.1/manual.html#luaL_loadstring