unset
unset ?-nocomplain? ?--? ?name ...?
Removes variables. A missing variable is an error, unless -nocomplain.
Examples
A click on an example runs it in the shell of the page.
set x 1; unset x; info exists x:0
Errors
unset nopegives the errorcan't unset "nope": no such variable
Facts
- Capability: none.
- Compute cost: one compute unit for the call, and more for the commands that it runs.