Mail Archives: djgpp/2001/10/05/05:06:14
"Orlando P. Hevia" wrote:
>
> The following FORTRAN sentence
>
> OPEN ( UNIT= 52, STATUS='SCRATCH')
>
> creates the file fort.52 (or fort.522, etc if fort.52
> exists), in the directory defined by environment variable
> TMP, when the program is compiled with Mingw32 FORTRAN.
>
> The files are normally deleted at end of run, but if the
> program aborts, in some cases the file remains.
>
> What is the equivalent with DJGPP FORTRAN compiler, when
> the
> program runs under native DOS 6.22, in other words, file
> name and directory?
Look in the directory where the TMPDIR environment variable points, normally
%DJDIR%/tmp, where %DJDIR% is the root of your DJGPP installation. In my
testing, the file name looks like forta52a.
Why is this important, anyway? These are scratch files, so their location
should not be important, I think.
- Raw text -