file_exists🔗
Short description🔗
file_exists — Check whether file exists.
Signature🔗
file_exists( filename FileName, out integer FileExists )
Description🔗
The operator file_exists checks whether the
indicated file already exists. If this is the case, the parameter
FileExists is set to TRUE, otherwise to FALSE.
Execution information🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters🔗
FileName (input_control) filename → (string)
Name of file to be checked.
Default: '/bin/cc'
FileExists (output_control) integer → (integer)
Boolean number.
Result🔗
If the parameters are correct the operator file_exists returns
the value 2 (H_MSG_TRUE). Otherwise, an exception is raised.
Combinations with other operators🔗
Module🔗
Foundation