EndOfFile

Category: Files

Back to System Functions


Signature

EndOfFile(fileHandle As Integer)

Returns

Boolean

Description

Returns True when an open file has no more text data to read with ReadLine. This is the usual loop condition for reading a whole text file.

Example

While Not EndOfFile(fileHandle) line = ReadLine(fileHandle) Wend