|
I'm sure there are other ways to handle it, but I might try adding a static variable (i.e. visible at all levels) and using that to determine when the file should actually be closed. Many methods from using it as a flag to a counter. Add one on each entry, subtract one on each return. If count hits zero immediately before the return, close file.. etc. etc. Jon Paris Partner400 www.Partner400.com
As an Amazon Associate we earn from qualifying purchases.
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.