To meet your needs, we constantly work to improve Querix products.
This means that Lycia documentation is developing as well.
In case you have found a certain dissonance between the provided information and the actual behavior of Lycia 3 and/or your applications, please, let us know about this via documentation@querix.com so that we can introduce the necessary changes to our documentation.
Thank you for your attention and cooperation.
The os.Path.dirname method is used to return all components of a path excluding the last one. The syntax of its invocation is as follows:
CALL os.Path.dirname(
file_name STRING) RETURNING
dir_name STRING
where:
· file_name = a STRING variable standing for the file name,
· dir_name = a STRING variable containing all the path elements except the last one.
Usage
As the function invocation removes the last path component, passing \root\dir001\file.txt as the parameter, for example, will result in \root\dir001