Cicode Programming Reference > Cicode Function Categories > File Functions Introduction > 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