Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

X Editing

The X edit descriptor specifies a character position to the right of the current position in an I/O record. It takes the following form:

nX

The n is a positive integer literal constant (with no kind parameter) indicating the nth character position to the right of the current character.

On output, the X edit descriptor does not output any characters when it appears at the end of a format specification; for example:

     WRITE (6,99) K
99   FORMAT ('^K=',I6,5X)

Note that the symbol ^ represents a non-printing blank character. This example writes a record of only 9 characters. To cause n trailing blanks to be output at the end of a record, specify a format of n('^').