CDF_DELETE

The CDF_DELETE procedure deletes the specified Common Data Format file. Files deleted include the original .cdf file and the .v0 , .v1 , etc. files if they exist.

Calling Sequence

CDF_DELETE, Id

Arguments

Id

The CDF ID of the file to be deleted, returned from a previous call to CDF_OPEN or CDF_CREATE.

Example

id = CDF_OPEN('open_close.cdf') ; Open a file.

... ; Other CDF_ commands.

CDF_DELETE, id ; Close and Delete the cdf file.