|
> result = lua_tonumber( luaVM, 1 ); Try -1 instead of 1. > Am I just being really thick headed? Why does this work if i don't >load any libraries? Any help would be greatly appreciated. Because the luaopen* functions leave things in the stack. --lhf