lua-users home
lua-l archive

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


>		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