[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re[2]: Notification of any change to a non-local variable.
- From: Ron Bessems <ron.b@...>
- Date: Thu, 23 Feb 2006 09:47:02 -0800
Thanks, I'll have to look at how to change the pairs and ipairs
functions.
- Ron
> Ron Bessems wrote:
>> I've looked at chapter 13.4 (table access meta-methods) but it seems
>> that those access methods cannot track if a variable already exists,
>> so then a proxy table is used, but then we loose the ability to
>> iterate over the table.
> Yes, proxy tables are the recommended method. And since you
> already control the globals -- what's keeping you from replacing
> pairs and ipairs with your own functions? Bonus: you get notified
> of iteration, too.
> Bye,
> Mike