This command will return an integer value of one if the file specified by the file number is open, otherwise zero is returned.

Syntax: 
Return Integer=FILE OPEN(File Number)