lua-users home
lua-l archive

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


It was thus said that the Great Philippe Verdy once stated:
> I tend to disagree. The "sequence" meaning does not imply that ipairs()
> enumerates only the array part. 

  You never bothered to even check the source code, did you?  Because if you
did, you would see that the implementation returns an iterator that starts
with the number 1, and incrments the index on each pass until lua_geti()
returns LUA_TNIL.

  -spc