lua-users home
lua-l archive

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





btw, I notice that there is a new keyword, "undef", not mentions in manual,
is that just a undocumented feature or the doc just not the latest?
Why is the new "undef" not used the other way round:

A[2] = nil removes the entry from the table
A[2] = undef  puts a value in A[2] that reads 'nil'

That would keep compatibility with Lua 5.3 and older
--
Oliver