lua-users home
lua-l archive

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


> How about the number of elements in the table? (i.e. number of keys
> whose values aren't nil, for you pedantic types)

t = {10,20,30; n = 3}
print(#t)   --> 4

-- Roberto