Delete method: File class
Syntax
Delete()
Description
Use the Delete method to delete an open file. You cannot delete a closed file.
Parameters
None.
Returns
None.
Example
/* Open a temporary file. Use the "N" parameter to ensure
the file is new. */
&MyFile = GetFile("temp.txt", "N", "UTF8");
/* verify the file was instantiated successfully */
/* do processing using the temporary file */
/* delete the temporary file */
&MyFile.Delete();