lua-users home
lua-l archive

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


> The current equivocation, that # is undefined when the table
> is not a sequence, sells it short. The property documented
> in the Lua 5.1 manual, that t[#t+1] is guaranteed to be an
> empty slot, is a useful one, no matter how many newbies
> are puzzled by it.

At least the implementation still guarantees that; it is only a
documentation matter...

-- Roberto