expandoff
suppress expansion of function(s)
expandon
unsuppress expansion of function(s)
Calling Sequence
Parameters
Description
Examples
expandoff(f1, f2, ...)
expandon(f1, f2, ...)
f1, f2, ...
-
function names
A call to expandoff suppresses the expansion of the functions listed. If no arguments are passed, the expansion of all functions is suppressed.
Conversely, expandon unsuppresses the expansion of the functions listed. If no arguments are passed, expansion of all functions is reasserted.
Both functions return NULL as the result.
Note that expand uses option remember. See the examples below.
The expandoff function should be defined by the command expand(expandoff()) before it is used. The expandon function should be defined by the command expand(expandon()) before it is used.
expand⁡expandoff⁡
expandoff⁡
expandoff⁡exp
expand⁡exp⁡a+b
ⅇa+b
expand⁡expandon⁡
expandon⁡
expandon⁡exp
expand⁡exp⁡c+d
ⅇc⁢ⅇd
The last example remains unexpanded because of option remember.
See Also
expand
remember
Download Help Document