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

os.Path.readable

The os.Path.readable method is used to check whether a file is readable or not. The syntax of the function is as follows:

 

CALL os.Path.readable(f_name) RETURNING result

 

where:

·         f_name = a STRING variable standing for the file name,

·         result  = TRUE if the file is a readable one or FALSE otherwise.