Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%FIO_Exist function


Function
The function determines whether the specified file/directory exists.
Declaration


Blok kódu
languageesl
themeConfluence
BOOL %FIO_Exist(
   TEXT in name, 
   BOOL in bCheckDir := @FALSE
 )
Parameters


name
the
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.