The value returned on the stack will be nil. -----Original Message----- When I use lua_call after lua_getglobal, and function (global symbol) not exist - my system crashes. How to check if lua_getglobal really found something?