From: iversen@dsfys1.fi.uib.no (Per Steinar Iversen)
Subject: Re: OSF/1 Fortran: can't write long records
Date: 4 Jan 1995 07:22:06 GMT [thread overview]
Message-ID: <3ediau$33m@due.uninett.no> (raw)
In-Reply-To: 3JAN199517112926@reg.triumf.ca
In article <3JAN199517112926@reg.triumf.ca>, fwj@reg.triumf.ca (Frederick Jones) writes:
>The following code doesn't work when compiled with DEC Fortran
>(X3.4-529) on an Alpha (OSF/1 V3.0 (Rev. 347)):
>
> character*16384 buff
> open(unit=2,file='test.out',status='new',recl=16384,
> # recordtype='fixed')
> write(2,1000)buff
> 1000 format(A)
> end
It does not work with DEC Fortran V3.5-576 either, but a small change to the
code makes it run - just increase the RECL with 4 bytes to 16388....
These extra 4 bytes are not needed with DEC Fortran V6.2-108 on VMS, or
DEC Fortran V3.2-164 on Ultrix, so it is probably a bug.
-psi
next prev parent reply other threads:[~1995-01-04 7:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-01-04 1:11 OSF/1 Fortran: can't write long records Frederick Jones
1995-01-04 7:22 ` Per Steinar Iversen [this message]
1995-01-04 8:36 ` Jerry Leslie
1995-01-04 16:07 ` Steve Lionel
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox