lua-users home
lua-l archive

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


On Mon, 27 Apr 2009 18:06:01 -0600
Patrick Donnelly <batrick@batbytes.com> wrote:
> 
> I can maybe see doing this for Lua symbols but why tables? You can
> simply use a metatable to allow this.
> 

It had to be done anyway for _G. But indeed, if all you want is a
case-insensitive table then __newindex is all that is necessary.

-- tom
telliamed@whoopdedo.org