FILE.EOF (FB; Prefix fileof)

( CAA_File library)

This function block sets “xEOF” on “TRUE” if the current offset is equal to the end of the file. If the end of the file has not yet been reached, “FALSE” is returned.

Input:

xExecute

BOOL

see: “CAA 指南”

hFile

CAA.HANDLE

File handle

Output:

xDone

BOOL

see: “CAA 指南”

xBusy

BOOL

see: “CAA 指南”

xError

BOOL

see: “CAA 指南”

eError

FILE.ERROR

Error ID

xEOF

BOOL

End of file reached