lua-users home
lua-l archive

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


Ah, thank you. I replaced the luaL_loadfile() call with lua_dofile() 
and the program found the "main" Lua function after that.

I also discovered that I needed to call to lua_baselibopen() so the 
print() in the "main" Lua function actually did something. :)