Source File Named "ERR.FOR"

Product Version(s): 3.20
Operating System:   MS-DOS
Flags: enduser |
Last Modified:  9-MAR-1988    ArticleIdent: Q10411

Problem:
   A source file with the name "ERR.FOR" hangs the first pass of the
compiler (FOR1).

Response:
   This is not a problem with the compiler but is a restriction that
has been eliminated in Version 4.00.
   This file name does not hang the computer; rather, the computer is
waiting for input from the keyboard. Issuing a CONTROL-C will return
you to the DOS prompt.
   Both the FORTRAN compiler and the run-time library associate the
name "ERR" with the MS-DOS standard error device handle. When you
issue the command "FOR1 ERR;", the FORTRAN compiler expects source
code from the keyboard rather than a file named "ERR.FOR".