lua-users home
lua-l archive

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


RE: global variable conflict (Virgil Smith)Cyril Bonnard wrote:

> I thought [__newindex and __index were] designed for
> accessing and setting absent field in a table.
>
> So i don't understand how it could be of any help since i
> don't want to catch absent field but fields which can be
> variables already present...

Check out:

<http://www.lua.org/pil/13.4.4.html>

-- 
Aaron