|
Hmm... Weird, no error. No output. Any other possible solutions, Mr. Figueiredo? Luiz Henrique de Figueiredo wrote:
[...]lua_State *L = lua_open();if (luaL_loadbuffer(L,(const char*)B1,sizeof(B1),"mtx.luc")==0) lua_pcall(L, 0, 0, 0);lua_close(L);I run the program but it gives no output.Add else puts(lua_tostring(L,-1); after the if and see what the error message says. --lhf