bas7ener.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Bad file mode
Example causes of this error are:
   ■ A PUT or GET statement specified a sequential file.
   ■ A FIELD statement specified a file not opened for
     random access.
   ■ A PRINT # statement specified a sequential file opened
     for input.
   ■ An INPUT # statement specified a file opened for output
     or appending.
   ■ BASIC tried to use an include file previously saved in
     compressed format. Include files must be saved in text
     format. Reload the include file, save it in text
     format, then try to run the program again.
   ■ An ISAM statement or function file-number argument
     refers to an open file that is not an ISAM table.
 
ERR code: 54