lua-users home
lua-l archive

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


Hi Steve,

On 1/11/11 8:35 AM, steve donovan wrote:
On Tue, Jan 11, 2011 at 9:20 AM, Michal Kottman <k0mpjut0r@gmail.com> wrote:
When t[k] is nil, table 't' doesn't have a value associated to 'k'.
t[k] = nil removes the value associated to key 'k' from the table 't'.
It's probably only difficult because people have expectations from
other languages which have pure hashes and pure arrays.  

To me, to the contrary  - this is how it should be, but is not quite.

Henning