When the first character of a formatted record is transferred to an output file or printer, it can be interpreted as a carriage control character (and not printed) if the file is opened with CARRIAGECONTROL='FORTRAN' in effect. On Tru64 UNIX systems, this is processed by the fortpr format utility.
The I/O system recognizes the characters listed in Table 8-5 as carriage control characters and does not print them. In this table, the symbol ^ represents a nonprinting space character.
| 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 a new line), but no carriage return. |
| ASCII NUL[1] | Overprinting with no advance | Outputs the record (at the beginning of the current line), but no carriage return. |
|
[1] Specify as CHAR(0). | ||
Any character other than those listed in Table 8-5 is interpreted as a space and is deleted from the print line. If you accidentally omit a carriage control character, the first character of the record is not printed.