fbinary (<file>)
numeric
Whether an existing file has binary contents (1) or is a text file (0).
<file>
Name of the file
to be tested.
unless (fbinary(myfile.dat)) !File is a text a file
If the target file does not exist or if the target file is a directory, 0 is returned, and the system identifier funcerr is set to -1.