lua-users home
lua-l archive

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


> do you mean I can load a script called "melee.lua" and then call
> 
> lua_getglobal(L, "melee.lua");
> lua_pcall(L, ...);

luaL_loadfile(L, "melee.lua");
lua_pcall(L, ...);