Hi Birgitta, 

> Because the Open and Close procedures are exported, I can 
> open or close them whenever I want.
> Normally I let them open (I'd rather end the activation 
> group), but there may be some exceptions.

Thanks for your clarification.
Personally I don't like it to keep files open when they are no longer
used. I'm thinking to create a serviceprogram to register
serviceprograms when they are opened (and then do an OpenFiles routine).
When a calling program is ending, it would call an unregister routine
that does a CloseFiles routine voor all registered serviceprograms.
By doing this I would ensure that I never forget to close files. But
maybe it's a little overdone to do such thing?

Best regards,
Arco Simonse

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.