Re: closing unit=5 and unit=6 and print *



Jim <jim-norris@xxxxxxxxxxxxx> wrote:
(I wrote)
This reminds me that some DEC compilers, with unit 5 and 6
both specified as the terminal, would allow either input or
output on either unit. I believe they were unbuffered so there
wasn't any problem mixing them, but I am not sure about that.

You are talking about the compilers for PDP-11 and VAX. The f90 compiler
for Alpha used negative numbers for those two units. I barely remember that
the f90 compiler would not accept negative numbers in the open statement.
I can't remember about reading and writing to unit 5 because my programs
never did that. I always read from unit 5 and wrote to unit 6.

Yes, the ones I used were for PDP-11 and VAX. VAX/VMS to be
more specific. I might expect that Alpha/VMS would follow VAX/VMS
for compatibility reasons, but I never used that. I did use
Alpha/OSF, but I don't remember that ours even had a Fortran compiler.

-- glen
.