Intel® Fortran Compiler 17.0 Developer Guide and Reference

Printing of Formatted Records

On output, if a file was opened with CARRIAGECONTROL='FORTRAN' in effect, the first character of a record transmitted to a line printer or terminal is typically a character that is not printed, but used to control vertical spacing.

Printing control characters are a deleted feature in the Fortran Standard. Intel® Fortran fully supports features deleted in the Fortran Standard.

The following table lists the valid control characters for printing:

Control Characters for Printing

Character

Meaning

Effect

+

Overprinting

Outputs the record (at the current position in the current line) and a carriage return.

-

One line feed

Outputs the record (at the beginning of the following line) and a carriage return.

0

Two line feeds

Outputs the record (after skipping a line) and a carriage return.

1

Next page

Outputs the record (at the beginning of a new page) and a carriage return.

$

Prompting

Outputs the record (at the beginning of the following line), but no carriage return.

ASCII NUL1

Overprinting with no advance

Outputs the record (at the current position in the current line), but no carriage return.

1 Specify as CHAR( 0 ).

Any other character is interpreted as a blank and is deleted from the print line. If you do not specify a control character for printing, the first character of the record is not printed.