Previous Topic: Is_Hidden - Check the File for the 'Hidden' AttributeNext Topic: Is_O_W - Check the File for the 'Others Write' Attribute


Is_O_R - Check the File for the 'Others Read' Attribute

Valid on UNIX only

The Is_O_R function checks the file for the specified attribute Others Read.

Function format:

Is_O_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_O_R(Argv(1)) Then
	print(Argv(1) + " indicates 'O_R'.")
Else
	print(Argv(1) + " does not indicate 'O_R'.")
End If