Illegal operation for file mode

You tried to perform an operation on a file that is illegal for the file's mode. For example, using the Get statement on a sequential file generates this message.

Use the FileAttr function to determine the file's mode before performing this operation on the file.