lua-users home
lua-l archive

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


> It is also useful when creating arrays that will be unpacked but
> which might include nils.

For this particular problem, we can add a function "table.maxn" and use
it explicitly when necessary (unpack can take an explicit size as an
extra argument).

-- Roberto