Erases the file from the disk.
The ibec_DeleteFile function erases the file named by FileName from the disk. If the file cannot be deleted or does not exist, the function returns False.
function ibec_DeleteFile(FileName : string): Boolean;
execute IBEBlock
as
begin
FileName = 'C:\mydata.txt';
if (ibec_FileExists(FileName)) then
ibec_DeleteFile(FileName);
end