[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: __newindex and replaced environment
- From: "Raymond Jacobs" <raymondj@...>
- Date: Mon, 30 Jul 2007 10:09:32 -0400
Greetings All,
let's say I have a thread, which I replace the environment with a new table
and add a meta table to that table which uses __index and __newindex to point to another environment;
when I load code into the thread (using dofile for instance) will the functions be placed in my new environment table, or in the old one.
In short, does loading code functions obey a __newindex metatable?
thanks in advance,
-Raymond