clear

Type: External

Group: general

Syntax

clear(variable)

Description

Clears the specified variable or, if blank, clears all variables. clear()clears local variables clear("variables") clears local variables clear("globals") clears global variables clear("functions"" clear function cache clear("all") clear local variables, global variables and function cache @EXAMPLE

clear('x'); 
clear();

Notes

The variable should be given as a string containing the variable name.

See Also

who, whos