lua-users home
lua-l archive

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

steve donovan wrote:
> Amen. But in general pack() will give you them. I agree, 'n' is a nasty hack.
> We are back in the table-with-holes thread ;)
> I am also excited about the __len metamethod.

__index can be a table instead of a function. Can __len be a number?

- tom