Xref: utzoo comp.sys.ibm.pc.programmer:431 alt.msdos.programmer:1396 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!boulder!stasica From: stasica@boulder.Colorado.EDU (Master, to you) Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer Subject: Turbo Pascal, Hayes modems Message-ID: <18508@boulder.Colorado.EDU> Date: 16 Mar 90 23:36:07 GMT Sender: news@boulder.Colorado.EDU Reply-To: stasica@boulder.Colorado.EDU Organization: University of Colorado at Boulder Lines: 12 I was wondering if there is any way in Turbo Pascal to close all files that have been opened during the execution of a program. (i.e., there are a lot in this program). I know there is the provision that all files will be closed once program execution has ended, but is there any way to do this during run-time? In experimenting with this it seems you can open the same file multiple times. Is this true, and if so, what is the purpose? By the way, as far as I know, there is no busy register in a Hayes compatible modem. An easy way to tell if the place you're calling is busy is to check the result codes sent back from your modem...either verbal or numerical.