lua-users home
lua-l archive

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



Uh, the only issue is that ipairs would "respect" nil, but otherwise it does/should work.

But yes, being able to explicitly include nils in ipairs output, i.e. with __ipairs, would be nice.

afaIk, getting nil from the iterator is what terminates the loop...

--
Oliver