Tcl7.6 User Commands Man Page -- delete (n)
Table of Contents


NAME

delete - delete things in the interpreter

SYNOPSIS

delete option ?arg arg ...?

DESCRIPTION

The delete command is used to delete things in the interpreter. It is implemented as an ensemble, so extensions can add their own options and extend the behavior of this command. By default, the delete command handles the destruction of namespaces.

The option argument determines what action is carried out by the command. The legal options (which may be abbreviated) are:

delete namespace name ?name...?
Deletes one or more namespaces called name. This deletes all commands and variables in the namespace, and deletes all child namespaces as well. When a namespace is deleted, it is automatically removed from the import lists of all other namespaces.

KEYWORDS

namespace, proc, variable, ensemble


Table of Contents