lua-users home
lua-l archive

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


"Christian N." <cn00@gmx.at> wrote:
> Since a nil-value is indistinguishable from an unset key in a table, any
> trailing nils should be insignificant. That is, {10, 20, nil} is
> equivalent to {10, 20}. Using explicit keys should not change that.

That’s what I thought, but it’s good to confirm.

Thanks, Peter
-- 
We have not been faced with the need to satisfy someone else's
requirements, and for this freedom we are grateful.
    Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System