This function is used to test if the path is a file that can be written by the program.
Context
Windows client,
Windows server,
Java client,
Java server,
Adelia Web client,
Adelia Cloud client,
Event Adelia client.
Parameters
ALPHA(n) |
Path |
Name of the file to be tested. |
BOOL |
ReturnCode |
*TRUE if the path exists, is a file and can be written. Output parameter. |
Example
ALPHA(256) = Path
BOOL = IsWritable
* Testing 'c:\temp\test.txt'
Path = 'c:\temp\test.txt'
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxCanWriteFile' Path IsWritable
IF NOT IsWritable
* Error processing...
END
List of the VaToolBx functions by topic