lua-users home
lua-l archive

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



2. Is there any way to find out count of the items in the LUA stack?
Or I just have to iterate on stack until nil value is found?

Try lua_gettop(), described in:

	http://www.lua.org/manual/5.0/manual.html#3.2

And remember that nil is a valid function parameter value!

Ashwin.
--
no signature is a signature