[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: protecting a variable
- From: "Alex Queiroz" <asandroq@...>
- Date: Tue, 14 Mar 2006 13:24:54 -0300
Hallo,
On 3/14/06, Noel Frankinet <nfr@gistek.net> wrote:
> Thank you for you answer but,
> what are __index, __newindex, _G and how do I access them (from C).
> Is there a doc or tutorial somewhere ?
>
__index and __newindex are metamethods. Look for them in the
docs. See sections about metatables.
http://www.lua.org/manual/5.1/
http://www.lua.org/pil/
--
-alex
http://www.ventonegro.org/