Previous Topic: Is_Dir - Check if the File is a DirectoryNext Topic: Is_File - Check the File is a Regular File


Is_Fifo - Check the File for the 'Pipe Special' Attribute

Valid on UNIX only

The Is_Fifo function checks the file for the specified attribute.

Function format:

Is_Fifo(filename as String) as Boolean
filename

Identifies a file path.

This function returns TRUE if the file is a pipe special file; otherwise, the function returns FALSE.

Example:

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