Valid on NetWare, Symbian OS, UNIX, Windows and Windows CE
The Is_ReadOnly function checks the file for the specified attribute.
This function has the format:
Is_ReadOnly(filename as String) as Boolean
Identifies a file path.
This function returns TRUE if the attribute is set; otherwise, the function returns FALSE.
Example: Is_ReadOnly function
If Is_ReadOnly(Argv(1)) Then print(Argv(1) + " indicates 'ReadOnly'.") Else print(Argv(1) + " does not indicate 'ReadOnly'.") End If
|
Copyright © 2013 CA.
All rights reserved.
|
|