Mathematica 9 is now available

Experimental`ValueFunction

Usage

ValueFunction[symb] represents a function to be applied whenever the symbol symb gets a new value.


Notes

• The assignment ValueFunction[symb] = f specifies that whenever symb gets a new value val, the expression f[symb, val] should be evaluated.
• If the value of symb is cleared, f[symb] is evaluated.
ValueFunction takes account of all ways that the value of a symbol can be changed, not just Set.
• See also: Trace.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.