Field-Map Scripting

4.1.4.7 EOF

EOF function


Prototype:

function EOF(f: integer): boolean;

Description:

The EOF function returns True when the end of the file has been reached while reading.

Syntax:

EOF(f);


Part

Description


f

The identifier of the file as returned by the AssignFile function

Return value:

Returns true when the end of file was reached, otherwise returns false.




Example:


See chapter ReadLn.


See also:

AssignFile; Reset; Rewrite; Append; WriteLn; ReadLn; EOF; CloseFile; DeleteFile; SaveStringToFile; SaveStringToFileAsUTF8