Hi all,
"priming lua_dofilel()" before using "lua_getglobal()" to get a function and run it successfully.
Or the program will complain "attempt to call a nil value".
But after googling and going through "Programming in Lua", I can't find what is under the
hood. Could anyone can explain why need the the magical "priming lua_pcall"?
Thanks very much in advance!