lua-users home
lua-l archive

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

Changes since Lua 5.1 says:
>     ipairs now goes until #t.

work1 through work3 had a check against luaL_len, but that has been removed.
ipairs in work4 behaves identically to the 5.1 version. (with the exception of returning nil in place of nothing)

Is the doc wrong or the code?