>In 4.0 Lua API, there's the 'lua_getn()' C function. In 5.0, the Lua >function is still available as 'table.getn()' but the C function >('aux_getn()' internally) has been declared 'static' and is not accessible >without modifications to the source. See http://lua-users.org/lists/lua-l/2002-08/msg00161.html . --lhf