lua-users home
lua-l archive

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

On 8 February 2013 16:11, Tim Mensch <> wrote:
> The order of the results returned is always the same, but the set of results
> you get could vary. If you have holes in your list, that set is no longer
> defined.

You're talking about the length operator here, which is a completely
different thing from ipairs. The documentation says that ipairs "will
iterate over the pairs (1,t[1]), (2,t[2]), ···, up to the first
integer key absent from the table"