|
IDL Reference Guide: Procedures and Functions |
|
The ITDELETE procedure is used to delete a tool in the IDL Intelligent Tools system. If a valid identifier is provided, the tool represented by the identifier is destroyed. If no identifier is provided, the current tool is destroyed.
When a tool is destroyed, all resources specific to that tool are released and the tool ceases to exist.
This routine is written in the IDL language. Its source code can be found in the file itdelete.pro in the lib/itools subdirectory of the IDL distribution.
ITDELETE[, iToolID]
This optional argument contains the identifier for the specific iTool to delete. If not provided, the current tool is destroyed.
None.
Enter the following at the IDL Command Line:
IPLOT, IDENTIFIER = PlotID1 ISURFACE, IDENTIFIER = SurfaceID1
Two tools are created: an iPlot tool and an iSurface tool.
Next, enter the following at the IDL Command Line:
ITDELETE, plotID1
The iPlot tool is deleted, leaving only the iSurface tool.
ITCURRENT, ITGETCURRENT, ITRESET
IDL Online Help (March 06, 2007)