josh%ILJCT.BITNET@wiscvm.wisc.EDU (Joshua D. Males) (09/21/87)
The problem with the open files sounds strange. I'm not too much of a DOS
hacker, but in the Turbo Editor Toolbox, if I remember correctly, the program
uses calls to DOS (using the MsDos procedure) to close and delete files.
If your files are all of the same type, I'm pretty sure you could define
something like:
Var F: array[1..25] of FileType;
and then...
For I:=1 to 25 do
close(f[i]);
or
For I:=1 to 25 do
if i in FileHandles
then close(f[i]);
where FileHandles is a set of integer which represents the indices for the
F array.
Best Wishes,
Josh Males
Jerusalem College of Technology
21 Rechov HaVaad HaLeumi
Givat Mordechai, Jerusalem
ISRAEL 91160
JOSH@ILJCT (BitNet)