unset
Unset specified variables. The variables have been set either using the set command
or as a byproduct of some other statements or methods (like record)
unset
The name of the variable to unset (as a string) or an array of variable names to unset. Each name is a literal variable
name, not a variable reference: an ASCII letter or underscore followed by up to 255 ASCII letters, digits, or underscores,
optionally prefixed with vars..
Variable
unset removes top-level variables of the current call. foo and vars.foo remove the same variable, and the variable’s
whole value is removed, even when it holds an object or array. Dotted child paths such as systems.hr and other namespaces
such as call or params can’t be unset.
Examples
Unset a single variable
Unset multiple variables
See Also
- Variables and Expressions: Complete reference for SWML variables, scopes, and syntax
- set: Set variables in the script