[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: finding out number of records in a table??
- From: "Leo Razoumov" <slonik.az@...>
- Date: Tue, 12 Sep 2006 07:56:24 -0400
Lua Length Operator ('#' or lua_objlen) when applied to tables only
returns the size of table's array portion and says nothing about its
hash portion (records).
How can one easily find out the number of records stored in a table?
I think that there should be a convenient idiom for such a common task.