Tests if a specified file exists.
ibec_FileExists returns True if the file specified by FileName exists. If the file does not exist, the function returns False.
function ibec_FileExists(FileName : string): Boolean;
execute IBEBlock
as
begin
FileName = 'C:\mydata.txt';
if (ibec_FileExists(FileName)) then
ibec_DeleteFile(FileName);
end