> From: Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>
> Subject: Re: Depth indexing of nil
> Use
> debug.setmetatable(nil, {__index = {}})
> See http://lua-users.org/lists/lua-l/2010-05/msg00159.html
Ah, thankyou! This looks like exactly what I want. Thankyou to the other responders also!
Disclaimer
The
e-mail and any files transmitted with it are confidential and may contain
privileged or copyright information. If you are not the intended recipient you
must not copy, distribute, or use this e-mail or the information contained in it
for any purpose other than to notify us of the error. If you have received this
message in error, please notify the sender immediately, by email or phone (+64 9
919 7000) and delete this email from your system. Any views expressed in this
message are those of the individual sender, except where the sender specifically
states them to be the views of Two Degrees Mobile Limited. We do not guarantee
that this material is free from viruses or any other defects although due care
has been taken to minimize the risk