lua-users home
lua-l archive

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


Actually, setting a table entry to nil in an iteration is allowed. But only to nil.

What is the prefered way to iterate through a table while checking for
some condition and selectively removing fields? I seem to recall that
directly setting them to nil caused the next() function to get
confused.