ValuePreprocessingFunction
is an option for functions such as PersistentSymbol and InitializationValue that specifies a function to apply to a new value that is being assigned.
Details
- When a value is to be assigned with PersistentSymbol["name",…]=value or InitializationValue["name",…]=value, the setting of the ValuePreprocessingFunction option is applied to value; the result is then assigned. If the result is $Failed, no assignment is done.
- The default setting is ValuePreprocessingFunction->Identity, which does not modify the value to be assigned.
- Settings for ValuePreprocessingFunction are typically done for the "Installation" persistence location.
Examples
Basic Examples (1)
Wolfram Research (2017), ValuePreprocessingFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ValuePreprocessingFunction.html.
Text
Wolfram Research (2017), ValuePreprocessingFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ValuePreprocessingFunction.html.
CMS
Wolfram Language. 2017. "ValuePreprocessingFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ValuePreprocessingFunction.html.
APA
Wolfram Language. (2017). ValuePreprocessingFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ValuePreprocessingFunction.html