$InactivateExclusions
is a variable whose value is used to determine which heads Inactivate should ignore.
Details and Options
- To use $InactivateExclusions, you first need to load the Developer Utilities Package using Needs["Developer`"].
- $InactivateExclusions contains a list of pairs of the form {h,extype} where h is a symbol and extype is either "Symbol" or "Expression". The pair {h,"Symbol"} indicates that Inactivate should ignore the head h itself but not its contents, whereas the pair {h,"Expression"} indicates that Inactivate should ignore any part of the input with head h.
- $InactivateExclusions can be restored to its default value using Unset.
Examples
open allclose allBasic Examples (2)
Scope (2)
Ignore g and its contents, and ignore h but not its contents:
Ignore these functions in addition to the normal defaults:
Restore $InactivateExclusions to its default value:
Now List is ignored:
Text
Wolfram Research (2014), $InactivateExclusions, Wolfram Language function, https://reference.wolfram.com/language/Developer/ref/$InactivateExclusions.html.
CMS
Wolfram Language. 2014. "$InactivateExclusions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Developer/ref/$InactivateExclusions.html.
APA
Wolfram Language. (2014). $InactivateExclusions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Developer/ref/$InactivateExclusions.html