IDELETE

Syntax | Arguments | Keywords | Example | Version History | See Also

The IDELETE 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 idelete.pro in the lib/itools subdirectory of the IDL distribution.

Syntax

IDELETE [, iToolID]

Arguments

iToolID

This optional argument contains the identifier for the specific iTool to delete. If not provided, the current tool is destroyed.

Keywords

None.

Example

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:

IDELETE, plotID1

The iPlot tool is deleted, leaving only the iSurface tool.

Version History

6.0

Introduced

7.1

Routine name changed from ITDELETE to IDELETE.

See Also

ISETCURRENT, IGETCURRENT, IRESET