Top  >  Lycia reference  >  Querix 4GL  >  Classes and Methods  >  os.Path methods  >  os.Path.exists()

os.Path.exists

The os.Path.exists method checks the file existence. The syntax of the function is as follows:

CALL os.Path.exists(f_name) RETURNING result

 

where:

·         f_name = a string standing for the file name to check,

·         result = TRUE or FALSE if the file exists or not, respectively.