Re: recl on g95 and gfortran




<beliavsky@xxxxxxx> wrote in message
news:1151497069.397570.35690@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

This is consistent with what the Fortran 95 handbook says. So I think
recl is allowed on sequential files in F95.


It is (see "Fortran 95/2003 Explained", Section 10.3). I would think that
g95 is entitled to give a run-time error as you're trying to read beyond the
limit of the record that you have, yourself, specified. I would suspect,
too, that this is a little-used feature for sequential files, and so
relatively unexplored.

Regards,

Mike Metcalf


.