ENDFILE Function

Purpose

Detects the end-of-file condition for bytestream files, e.g. files requiring the FILEREAD built-in function.

When the end of the file is reached, returns a '1'B. If the end of the file is not reached, returns '0'B.

Syntax

ENDFILE(x)

Parameter

x
File reference.

Restrictions

None.