[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: no __newindex support for userdata?
- From: Ando Sonenblick <ando@...>
- Date: Sun, 24 Aug 2003 13:47:45 -0700
Thanks, something must have gone wrong. I'll try again...
Ando
> On Sunday 24 August 2003 01:02 pm, Ando Sonenblick wrote:
>> I've sadly discovered that if my metatable for userdata p (heavy, not
>> light) has a __newindex method, it is NOT called when attempting to access
>> x (and other values).
>
> Sure it does. Setting a value invokes __newindex; getting a value invokes
> __index. I use it all the time.
>
> Ben
-----------------
SpriTec Software
www.spritec.com