IsAtEndOfStream (open)
Test if we are at the end of a stream (eg a file)
Syntax
// Core function, no LOADLIB necessary
BOOLEAN FUNCTION IsAtEndOfStream(INTEGER filehandle)
Parameters
INTEGER filehandle
ID of file, as returned by OpenBlobAsFile, OpenDiskFile or CreateDiskFile
Return value
BOOLEAN
TRUE if the end of file was reached
Description
This function returns TRUE if the last read on the stream hit the end of the file. Note that you should first try to read from the stream, and only if that failed, test for EOF. Modifying the file pointer resets the end of stream indicator