Input past end of file
Either an Input
statement is reading from a file that is empty or one in which all the data is used, or you used the EOF
function with a file opened for binary access.
To correct this error
Use the
EOF
function immediately before theInput
statement to detect the end of the file.If the file is opened for binary access, use
Seek
andLoc
.
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for