>I didn't see a metamethod for the assignment operator in the The metamethods are set for the table of globals, which you get using "getglobals()". Set "__index" and "__newindex" metamethods for this table. --lhf