When I open a file with FileOpen() in PB6.5 I want to read the last record.
FileSeek() has a few parameters that allows for you to start at the end of the file(FromEnd!) and then read back some many characters. However since I don't know how long the last record is, I won't be able to use the FileSeek(), Correct?
Without using the FileRead() until I hit the last record, How can I read just the last record using the FileRead() without looping through every record?
Keith
FileSeek() has a few parameters that allows for you to start at the end of the file(FromEnd!) and then read back some many characters. However since I don't know how long the last record is, I won't be able to use the FileSeek(), Correct?
Without using the FileRead() until I hit the last record, How can I read just the last record using the FileRead() without looping through every record?
Keith