Xojo.IO.TextInputStream.EOF

From Xojo Documentation

Method

Xojo.IO.TextInputStream.EOF() As Boolean

Supported for all project types and targets.

Returns True when a Read or ReadLine method reaches the end of the text stream.

Exceptions

Sample Code

Var line As Text
While Not inputStream.EOF
line = inputStream.ReadLine
Wend