[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: settagmethod [setglobal]
- From: Richard Sun <scritch@...>
- Date: Tue, 29 Jun 1999 18:23:48 -0700
I'm trying to set the tag method for "setglobal" to a function of my own.
However, the 2nd argument to setglobal, the new value, is always coming up
nil. Does anybody have any idea why this is, and how to fix it?
here's the important parts of the code in question:
function new_setglobal(x, val)
settagmethod(tag(nil), "setglobal", new_setglobal)
inside function new_setglobal, i print out the variable name and value...
the variable name is always right, but the variable "val" is always nil.
LucasArts Entertainment Co. LLC