You can use OPEN and CLOSE as often as you need to in a program.
Obviously you can on OPEN a file that is not already OPEN and can only CLOSE a file if it has been opened.
Regarding Best Technique - You want to do it as few times as possible. Thre is overhead each time it is done.
Last Wiki Answer Submitted: February 17, 2011 6:56 pm by CharlieBrowne32,825 pts.
All Answer Wiki Contributors: CharlieBrowne32,825 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.