FUNCTION SysFileEOF : RTS_IEC_RESULT
Check, if end of file is reached
Note
End of file is only checked after a read operation with SysFileRead! But after a SysFileWrite or SysFileSetPos call, the function returns ERR_FAILED (no end of file)!
InOut:
Scope |
Name |
Type |
Comment |
Return |
SysFileEOF |
RTS_IEC_RESULT |
Returns the runtime system error code (see CmpErrors.library):
|
Input |
hFile |
RTS_IEC_HANDLE |
Handle of the file |