Previous Topic: Is_Blk - Check if the File is a Block Special FileNext Topic: Is_Dir - Check if the File is a Directory


Is_Chr - Check if the File is a Character Special File

Valid on UNIX only

The Is_Chr function checks the file for the specified attribute.

Function format:

Is_Chr(filename as String) as Boolean
filename

Identifies a file path.

Returns TRUE if the file is a character special file and FALSE otherwise.

Example:

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