Previous Topic: Is_Archive - Check if the File is ArchivedNext Topic: Is_Chr - Check if the File is a Character Special File


Is_Blk - Check if the File is a Block Special File

Valid on UNIX only

The Is_Blk function checks the file for the specified attribute.

Function format:

Is_Blk(filename as String) as Boolean
filename

Identifies a file path.

Returns TRUE if the file is a block special file, and returns FALSE in all other cases.

Example:

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