Unset: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
added it to category:variables |
||
Line 17: | Line 17: | ||
[[Category:Commands]] | [[Category:Commands]] | ||
[[Category:Variables]] |
Revision as of 12:05, 25 April 2006
Unsets and removes a variable from the variable list.
/unset [-s] <%var>
The -s switch gives an output: * Unset %var
Note that you can specify a variable with wildcard characters.
Example
/unset %moo
This will unset and remove the variable %moo.
/unset %test*
This will unset and remove all variables that begin with %test.
See Also
/set sets a variable.
/var sets a local variable.
/unsetall unsets all variables.