lua-users home
lua-l archive

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



I think you'd run into the problem that there isn't any metamethod
called when a table entry is set to nil (aka deleted)?

__newindex() is called with a value of nil, in this case.

Oh. Is that documented? I'm sure when I was needing to know about deletions I couldn't find anything, but that was probably due to me reading things badly.