DMRemoveData Procedure

Deletes a dataset from the current PV‑WAVE session.

Usage

DMRemoveData, data_name 

Input Parameters

data_name—A scalar string containing a data name (in the default domain, $GLOBAL) or a 2-element string array containing a domain name and data name of the data you wish to remove.

Discussion

No error is produced if you attempt to delete data that does not exist; however, an error is produced if you specify an incorrectly formed data_name.

To be valid, the data_name input parameter name must begin with a letter. The name is not case-sensitive, and may contain letters, underscores, and numbers.

Examples

See the example for DMSave.

See Also

DMCopyData, DMDataExists, DMEnumerateData, DMGetData, MInit, DMRenameData, DMSave, DMStoreData