Name

delete

delete option [arg...]

Used to delete various things in the interpreter. Accepts the following options:

delete class name...

Delete one or more classes, as well as objects in the class and derived classes.

delete object name...

Delete one or more objects. Destructors in the class hierarchy are called, and the object is removed as a command from the interpreter.

delete namespace name...

Delete one or more namespaces, including commands, variables, and child namespaces.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.