lua-users home
lua-l archive

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


> On 29 Mar 2018, at 6.51, Eric Man <meric.au@gmail.com> wrote:
> 
> Maybe it makes sense for a length operator to simply return how many non-nil elements is in the data structure.

It does not guarantee that t[#t+1I is an empty slot, does it? can’t think of any real use for that for tables.