Manual Pages for UNIX Darwin command on man delete
MyWebUniversity

Manual Pages for UNIX Darwin command on man delete

delete(n) [incr Tcl] delete(n)

NAME

delete - delete things in the interpreter

SYNOPSIS

ddeelleettee option ?arg arg ...?

DESCRIPTION

The ddeelleettee 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 ddeelleettee command handles the destruction of namespaces.

The option argument determines what action is carried out by the com-

mand. The legal options (which may be abbreviated) are: ddeelleettee ccllaassss name ?name...? Deletes one or more [[iinnccrr TTccll]] classes called name. This

deletes all objects in the class, and all derived classes as

well. If an error is encountered while destructing an object, it will prevent the destruction of the class and any remaining objects. To destroy the entire class without regard for errors, use the "ddeelleettee nnaammeessppaaccee" command. ddeelleettee oobbjjeecctt name ?name...? Deletes one or more [[iinnccrr TTccll]] objects called name. An object

is deleted by invoking all destructors in its class hierarchy,

in order from most- to least-specific. If all destructors are

successful, data associated with the object is deleted and the

name is removed as a command from the interpreter.

If the access command for an object resides in another names-

pace, then its qualified name can be used: delete object

foo::bar::x If an error is encountered while destructing an object, the ddeelleettee command is aborted and the object remains alive. To destroy an object without regard for errors, use the "rreennaammee" command to destroy the object access command. ddeelleettee nnaammeessppaaccee 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 automat-

ically removed from the import lists of all other namespaces. KKEEYYWWOORRDDSS namespace, proc, variable, ensemble

itcl 3.0 delete(n)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™