Stream.EndOfFile (gb)

Property Read EndOfFile As Boolean

This property signals whether the last use of LINE INPUT reached the end of file, instead of reading a full line with an end-of-line character.

To check if end of file has been reached in any context, use the Eof function or the Eof property.