OK. I see what you saying now. I've always consider using %eof or
%eof(filename) after a chain is not a proper usage.


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Wilt, Charles
Sent: Thursday, July 03, 2008 1:10 PM

Would probably be an error on the coder's part. If it makes you happier,
consider this:

Reade (myKey) myFile
//lots of code snipped
Chain (myKey) myFile
If not %found(myfile)
//do something
endif
//lots of code snipped
If %eof(myFile)
//do something
Endif



Now if you change %eof(myFile) to %eof(), you are changing the behavior
of the code when you probably don't intend to.

That's all I'm saying.

Charles


This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 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.