ENDFILE

ENDFILE returns a '1'B when the end of the file is reached; '0'B if the end is not reached. If the file is not open, the ERROR condition is raised.
Read syntax diagramSkip visual syntax diagram
>>-ENDFILE(x)--------------------------------------------------><

x
File reference.

ENDFILE can be used to detect the end-of-file condition for bytestream files; for example, files that require the use of the FILEREAD built-in function.






Published: 23 December 2018