Previous Topic: Is_System - Check the File for the 'Is System' AttributeNext Topic: Is_U_W - Check the File for the 'User Write' Attribute


Is_U_R - Check the File for the 'User Read' Attribute

Valid on NetWare, Symbian OS, UNIX, Windows and Windows CE

The Is_U_R function checks the file for the specified attribute User Read.

Function format:

Is_U_R(filename as String) as Boolean
filename

Identifies a file path.

This function returns TRUE if the attribute is set; otherwise, returns FALSE.

Example:

If Is_U_R(Argv(1)) Then
	print(Argv(1) + " indicates 'U_R'.")
Else
	print(Argv(1) + " does not indicate 'U_R'.")
End If