[F-Script-talk] Re : Intercepting variable access
Brought to you by:
pmougin
From: Philippe M. <pmo...@ho...> - 2006-06-23 17:00:28
|
Bryan Woods wrote : >Philippe MOUGIN wrote: >>You'll also probably need to call the method "symbolForIndex:" as part of >>your own implementation of "valueForIndex:isDefined:" in order to get the >>name of the variable being looked-up. >I assume this will fail if the variable hasn't been defined yet. In the context of these methods, "defined" means that an object has been assigned to the variable. In this context, calling "symbolForIndex:" for a variable that is not yet "defined" will NOT fail (given a valid FSContextIndex argument). A variable can be known by the interpreter, even if the variable is not yet defined. Best, Philippe _________________________________________________________________ Découvrez Windows Live Messenger : le futur de MSN Messenger ! www.windowslivemessenger.fr |