lua-users home
lua-l archive

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


> I am trying to install an '__existingindex' metatable method. But not
> quite working.

Can't you get away with using a proxy table? That way you always get
the __index or __index in the proxy table and can refer to the real
table to check if the key is already there.