6.1.30. Extended I/O specifiers
6.1.30 Extended I/O specifiers
GNU Fortran supports the additional legacy I/O specifiers CARRIAGECONTROL
, READONLY
, and SHARE
with the compile flag -fdec, for compatibility.
CARRIAGECONTROL
-
The
CARRIAGECONTROL
specifier allows a user to control line termination settings between output records for an I/O unit. The specifier has no meaning for readonly files. WhenCARRAIGECONTROL
is specified upon opening a unit for formatted writing, the exactCARRIAGECONTROL
setting determines what characters to write between output records. The syntax is:OPEN(..., CARRIAGECONTROL=cc)
Where cc is a character expression that evaluates to one of the following values: