Previous Topic: Is_G_R - Check the File for the 'Group Read' AttributeNext Topic: Is_G_X - Check the File for the 'Group Execute' Attribute


Is_G_W - Check the File for the 'Group Write' Attribute

Valid on UNIX only

The Is_G_W function checks the file for the specified attribute Group Write.

Function format:

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

More information:

UNIX File Attributes