lua-users home
lua-l archive

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


> in C, the lua_tonumber() is an in-place convertion, it changes the
> value in stack and may cause unwanted behavior when you're iterating a
> table.

No, lua_tonumber does not change the value in the stack.. You are describing lua_tostring.