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.chvolume is used to change the working volume at current. The syntax of the method is as follows:
CALL os.Path.chvolume(new_volume) RETURNING result
where:
new_volume = a variable of STRING data type standing for the volume to select as a current one,
esult = a variable of INTEGER data: TRUE when the working volume can be successfully changed and FALSE otherwise.
Here is an example of the os.Path.chvolume method calling:
#changes the current working volume to "C
:\"
CALL os.Path.
chvolume (
"C:\\")
RETURNING
result
As the backslash symbol is a default escape symbol which makes the compiler treat the symbol following it as a literal character and ignore its special functionality, to add a backslash symbol to a character string you have to use a double backslash in the source code or four symbols in a row to add a double backslash:
DISPLAY "This is a backslash: \\"
DISPLAY "This is a double backslash: \\\\"
The method can be used on Windows OS only.