lua-users home
lua-l archive

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


* Xavier Wang:

> in beta:

| The length of a table t is only defined if the table is a
| *sequence*, that is, all its numeric keys comprise the set *{1..n}*
| for some integer *n*. In that case, *n* is its length.

So it is no longer advisable to store something in t[0] if you want to
use #t?  Would it be possible to change that to "positive numeric
keys", at least?