On Tue, Feb 10, 2015 at 9:18 AM, <rob@xxxxxxxxx> wrote:
Correct me if I'm wrong but it's ok to read the last record, and still
reposition? But the problem occurs when you try to read past the last
record and get the EOF message?

That would be consistent with John McKee's suggestion to keep a
sentinel record at the end (so when you reach it, you know you've read
all the "real" records, but the file status is still not EOF).

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.