delete man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

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


       itcl::delete - delete things in the interpreter

       itcl::delete option ?arg arg ...?

       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  com‐
       mand.  The legal options (which may be abbreviated) are:

       delete class name ?name...?
	      Deletes  one  or	more  [incr Tcl]  classes  called  name.  This
	      deletes all objects in the class, and  all  derived  classes  as

	      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
	      "delete namespace" command.

       delete object name ?name...?
	      Deletes one or more [incr Tcl] 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:

		     itcl::delete object foo::bar::x

	      If  an  error  is	 encountered  while destructing an object, the
	      delete command is aborted and  the  object  remains  alive.   To
	      destroy  an  object  without regard for errors, use the "rename"
	      command to destroy the object access command.

       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 automat‐
	      ically removed from the import lists of all other namespaces.

       namespace, proc, variable, ensemble

itcl				      3.0			     delete(n)

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net