× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Arthur.Marino@xxxxxxxxxxxxxxxx wrote:
I'm thinking the 'file open' flag is superfluous. You'd open the needed file if "not %open(file_name)" is true. And you don't even have to test for %open before closing it, since the manual says you won't get an error if you attempt to close an already closed file.

Except if another procedure, in the same module, that called this procedure had opened the file before hand. If this is the case, and you close the file, you will end up with an ugly error.

The purpose of the flag is implement 'only close the file if we actually had to open it'.

david

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.