lua-users home
lua-l archive

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



thanks everyone.

>> use ipairs instead of pairs.
>
> Well, since you're using 0, this won't work. Array indexes start at 1 in
> Lua. A 0 is allowed as an index, but it's a normal table index, not an
> array index, so it will not be included in ipairs().




See all the ways you can stay connected to friends and family