On Wed, 6 Feb 2002, Shawn wrote: > > You should also test to make sure the close worked, like you do for the > > opening. > > I have never heard of such a thing? Is it a common problem to have > files not close? And if it does not close, what problems would you have > (assuming that the file would close upon exit). Would there be an error > if you tried to open the filehandle a second time if it had not closed?
It's not a common problem, but if you can't close it (for whatever reason), it could indicate something bad (filesystem failure, deadlock with another prcoess, etc.). It never ever hurts to test for a failure on file operations. -- Brett http://www.chapelperilous.net/ ------------------------------------------------------------------------ Don't be humble ... you're not that great. -- Golda Meir -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]