Paul Suckling wrote:
> Does this mean that an end of file marker is placed at the end of
whatever is the last write statement, effectively
> making what I was trying to do with a sequential file impossible?
Yes.
"For sequential access on output, if there is a current record, the file
position is not changed and the current record becomes the last record
of the file. Otherwise, a new record is created as the next record of
the file; this new record becomes the last and current record of the
file and the file is positioned at the beginning of this record."
[Fortran 95, 9.2.1.3.2, File position prior to data transfer, p136-137]
Steve Lionel
Software Products Development
Intel Corporation
Nashua, NH
|