🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages Started by Master, to you Fri, 16 Mar 1990 23:36
Turbo Pascal, Hayes modems
#56
Author: Master, to you
Date: Fri, 16 Mar 1990 23:36
12 lines
1136 bytes
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads