File.EOF

Navigation:  Libraries > CT File Access > Function Blocks - File Services >

File.EOF

Previous pageReturn to chapter overviewNext page

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.

Inputs:

xExecute

 

BOOL

 

hFile

CAA.HANDLE

File handle

 

Outputs:

xDone

 

BOOL

 

 

xBusy

BOOL

 

xError

BOOL

 

 

eError

FILE.ERROR

Error ID

xEOF

BOOL

End of the file reached