FIO_Exist

FIO_Exist

%FIO_Exist function


Function

The function determines whether the specified file/directory exists.

Declaration

BOOL %FIO_Exist( TEXT in name, BOOL in bCheckDir := @FALSE )

 

Parameters

name

the name of the file (directory)

_bCheckDir

@TRUE - test the directory
@FALSE - test the file

 

Return value

@TRUE - the file exists, @FALSE - the file doesn't exist.

Note

The function checks whether the file (directory) exists - attempts to open it for reading.

 


Related pages:

ESL extended functions
Function arguments - types