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

os.Path.mkdir

The os.Path.mkdir method is used to create a new directory. The syntax of the function is as follows:

 

CALL os.Path.mkdir(dname) RETURNING result

 

where:

·         dname = a variable of a STRING data type standing for the name of the directory to create,

·         result  = TRUE or FALSE depending on the success of the function execution.