Reading past end-of-file

Official Description

6.6.5.2 It is an error if end-of-file is true immediately prior to any use of get or read.

Simplified Description

In other words, it is an error to attempt to read past the end of a file.

Error Handling

This error is reported if I/O checking is enabled.