Field-Map Scripting

4.4.3.1 DeleteFile

DeleteFile function


Prototype:

function DeleteFile(const FilePath: string): boolean;

Description:

Use DeleteFile function to delete file in a specific directory.

Syntax:

variable := Project.DeleteFile(FilePath);


Part

Description


variable

variable declared as boolean


Project

A reference to the Field-Map project as defined in Field-Map Project Manager


FilePath

A string parameter specifying the full location of the file


Return value:


True/False



See also:

DeleteFile; CreateDir; DeleteDir; GetFilesOfDir; OpenFileByWindowsAssociation; SaveStringToIniFile; SaveIntegerToIniFile; SaveDoubleToIniFile; SaveBooleanToIniFile; LoadStringFromIniFile; LoadIntegerFromIniFile; LoadDoubleFromIniFile; LoadBooleanFromIniFile; ExtractFilename; ExtractFilePath; FileExists; DirectoryExists