12-05-2018 05:34 PM
@RobertoBozzolo wrote:
I suggest you to use... ReadLine (): using it in a loop till EOF permits you to read the file line-by-line without problems.
Sorry to butt in, but how do you test for EOF on a line-by-line basis? I looked into the SetFilePtr to see if there was a GetFilePtr in order to know where in the file the ReadLine has placed it.
This seems like an easy thing, but I can't guess.
12-06-2018 08:36 AM
ReadLine returns -2 when it finds EOF