Description
DBDelete() is used to delete the named GDB supported data set of the indicated format.
Call Signature
void DBDelete ( string file_type, string filename )
Return Value
void
This has no return value.
Arguments
string file_type:
The three character format descriptor such as "PIX", or "TIF".
string filename:
The name of the data set to delete.
Remarks
DBDelete() can be used to delete all files related to the named data set; however, it is necessary to indicate the format of the data set as well. For most formats, DBDelete() is equivelent to using the EASI DELETE command to remove the named file. However, for formats consisting of more than one file, the DBDelete() function may properly delete all related files.
Example
call DBDelete( "PIX", "local.pix" )
The file local.pix is deleted from the local directory.
See also GDB file functions
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.