On output, if a file was opened with CARRIAGECONTROL='FORTRAN'
in effect or the file is being processed by
the fortpr
format utility, 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.
Table 11-5 lists the valid control characters for printing. In this table, the symbol ^ represents a nonprinting space character.
Table 11-5 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.