Is it possible to use the end of file (EOF) function with the file read (FileRead) function?
System functions are not compatible with Sysutils functions?
Is there a comparable EOF function available in the Sysutils functions set?
long story short: eof is for text files .
hint: eof involves parsing so its imposible to be used in bulk buffer read