GlobalReleaseHook -- a method name which is consulted when an assignment to a global variable is about to occur.
The method should be a function of two variables: the symbol to which a value is being assigned, and the old value about to be overwritten. The method should be stored under the name GlobalReleaseHook in the class of the old value. It is executed before the assignment occurs, and before the execution of GlobalAssignHook.
i1 : RR.GlobalReleaseHook = (sym,val) -> << concatenate ( |
i2 : a=4.5 |
i3 : a=5.4 |
See also:
Methods for GlobalReleaseHook :