Previous Topic: Is_File - Check the File is a Regular FileNext Topic: Is_G_W - Check the File for the 'Group Write' Attribute


Is_G_R - Check the File for the 'Group Read' Attribute

Valid on UNIX only

The Is_G_R function checks the file for the specified attribute Group Read.

Function format:

Is_G_R(filename as String) as Boolean
filename

Identifies a file path.

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

Example:

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

More information:

UNIX File Attributes