Next: slua_tbl_next, Previous: Manipulating Tables, Up: Manipulating Tables
return the number of elements in a Lua table
#include <luasup/luasup.h>int slua_tbl_nelem(lua_Object table);
lua_Object table
- the table to iterate over
This routine counts the number of elements in a Lua table.
It returns the number of elements in the table
Diab Jerius