STD.File.DeleteLogicalFile( filename [ , ifexists ] )
filename | A null-terminated string containing the logical name of the file. |
ifexists | Optional. A boolean value indicating whether to post an error if the filename does not exist. If omitted, the default is FALSE. |
The DeleteLogicalFile function removes the named file from disk.
Example:
A := STD.File.DeleteLogicalFile('Fred');