> Sometimes, if a subroutine is only called during certain situations (thus,
> not often) and the file used by the subroutine is not used by the main
> program, opening the file within the subroutine that uses it makes sense
to
> me.


One problem with that Susan - what happens if the file doesn't exist or
can't be opened for some reason?  I realise that this isn't exactly common,
but it was always the prime reason given to me for opening all files first
before any processing takes place.

Col.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to