lua-users home
lua-l archive

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


The length operator (or getn) only works for indexed values.  How can I get the size of a table including _all_ fields?

Actually, I'm just interested in determining if a table is made entirely of indexed values or not (ie. test if it's a pure array).

--
// Chris