lua-users home
lua-l archive

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


A simpler answer is to provide an array namespace. In fact, the table namespace should probably become the array namespace with the addition perhaps of a call metamethod on the namespace so that you can use it as a constructor. arrays have an explicit length (stored somewhere) and appropriate metamethods to maintain it.

Mark