[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Global variable __index and __newindex?
- From: "Jeremy Darling" <jeremy.darling@...>
- Date: Wed, 29 Aug 2007 14:28:34 -0500
I need a way to provide an __index and __newindex method for global variables. Is there an easy way to go about this?
What I mean is that if I have a variable (call it Foo) when I use it I want it to call readers and writers in my source code instead. I know I can overwrite the default global handlers but that seems a bit of the wrong way.
"Help I suffer from the oxymoron Corporate Security."