Input past end of file

One of the following conditions could have caused this error:

  • You tried to read past the end of the file.

    Use the EOF function to check for the end-of-file.

  • An Input statement tried to read in more values than are present in the last record in the file.

    Adjust the number of values being read so that the number read from the last record is less than or equal to the number of values in the last record.