Cicode Programming Reference > Cicode Function Categories > File Functions > FileEOF

FileEOF

Determines if the end of the file has been reached.

Syntax

FileEOF(File)

File:

The file number.

Return Value

1 if the end of file has been reached, otherwise 0 (zero).

Related Functions

FileSeek

Example

WHILE NOT FileEOF(File) DO
Str=FileReadLn(File);
END

See Also

File Functions

Published June 2018