Function: kill (<a_1>, ..., <a_n>)
Function: kill (labels)
Function: kill (inlabels, outlabels, linelabels)
Function: kill (<n>)
Function: kill ([<m>, <n>])
Function: kill (values, functions, arrays, ...)
Function: kill (all)
Function: kill (allbut (<a_1>, ..., <a_n>)) Removes all bindings (value, function, array, or rule) from the arguments <a_1>, ..., <a_n>. An argument <a_k> may be a symbol or a single array element. When <a_k> is a single array element,
kill unbinds that element without affecting any other elements of the array.
Several special arguments are recognized. Different kinds of arguments may be combined, e.g.,
kill (inlabels, functions, allbut (foo, bar)).
kill (labels) unbinds all input, output, and intermediate expression labels created so far.
kill (inlabels) unbinds only input labels which begin with the current value of
kill (outlabels) unbinds only output labels which begin with the current value of
kill (linelabels) unbinds only intermediate expression labels which begin with the current value of
kill (<n>), where <n> is an integer, unbinds the <n> most recent input and output labels.
kill ([<m>, <n>]) unbinds input and output labels <m> through <n>.
kill (<infolist>), where <infolist> is any item in
infolists (such as
arrays) unbinds all items in <infolist>. See also
kill (all) unbinds all items on all infolists.
kill (all) does not reset global variables to their default values; see
reset on this point.
kill (allbut (<a_1>, ..., <a_n>)) unbinds all items on all infolists except for <a_1>, ..., <a_n>.
kill (allbut (<infolist>)) unbinds all items except for the ones on <infolist>, where <infolist> is
The memory taken up by a bound property is not released until all symbols are unbound from it. In particular, to release the memory taken up by the value of a symbol, one unbinds the output label which shows the bound value, as well as unbinding the symbol itself.
kill quotes its arguments. The quote-quote operator
kill (<symbol>) unbinds all properties of <symbol>. In contrast,
remrule unbind a specific property.
kill always returns
done, even if an argument has no binding.
There are also some inexact matches for
?? kill to see them.
(%o1) true (%i2)