EOF

From BR Wiki
(Redirected from EoF)
Jump to navigation Jump to search

The EoF, or End of File, error condition may be specified at the end of a program statement and in the Exit statement, but it is not accepted by the ON error statement.

See also Error 4270 for reading files or error 57 for reading data statements

Error Trap:

EOF traps three error situations: when there are no more records in the file during input (for a READ file, INPUT, or LINPUT statement), when there is not enough file space during file output (for a PRINT or WRITE statement) or when there is not enough data in DATA statements (for a READ data statement).