On Tue, Oct 15, 2013 at 5:27 PM, John McKee <jmmckee@xxxxxxxxxxxxxx> wrote:
[In response to Mark S. Waterbury]
Your pseudo code raises what may be a dumb question: Is the If Found test
following the setll needed? I was under the impression (maybe lucky) that
if the setll failed, the reade would still return eof.

The IF test there is not strictly needed, in the sense that the
program will work correctly without it; but I believe Mark's intention
there was to avoid the READE if we already know the READE will come up
empty. (This thread is talking about performance, after all.)

John

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-2025 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.