Re: closing unit=5 and unit=6 and print *
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Aug 2006 17:29:55 +0000 (UTC)
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
.
- Follow-Ups:
- References:
- closing unit=5 and unit=6 and print *
- From: Dylan Sung
- Re: closing unit=5 and unit=6 and print *
- From: Tim Prince
- Re: closing unit=5 and unit=6 and print *
- From: Richard E Maine
- Re: closing unit=5 and unit=6 and print *
- From: glen herrmannsfeldt
- Re: closing unit=5 and unit=6 and print *
- From: Jim
- closing unit=5 and unit=6 and print *
- Prev by Date: Re: closing unit=5 and unit=6 and print *
- Next by Date: Re: closing unit=5 and unit=6 and print *
- Previous by thread: Re: closing unit=5 and unit=6 and print *
- Next by thread: Re: closing unit=5 and unit=6 and print *
- Index(es):