-qfixed

Category

Input control

Purpose

Indicates that the input source program is in fixed source form and optionally specifies the maximum line length.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -q--fixed--+-----------------+-----------------------------><
               '-=--right_margin-'   

@PROCESS:

@PROCESS FIXED[(right_margin)]

Defaults

-qfixed=72 is the default for the xlf and xlf_r invocation commands when they are used to compile the .f, .F, .f77, or .F77 files.

-qfixed=72 is also the default for the f77 and fort77 invocation commands.

Note:

-qfree=f90 is the default for the f90, xlf90, xlf90_r, f95, xlf95, xlf95_r, f2003, xlf2003, xlf2003_r, f2008, xlf2008, xlf2008_r, and CUDA Fortran begins xlcuf CUDA Fortran ends commands.

Usage

The source form specified when executing the compiler applies to all of the input files, although you can switch the form for a compilation unit by using a FREE or FIXED @PROCESS directive, or switch the form for the rest of the file by using a SOURCEFORM comment directive (even inside a compilation unit).

For source code from some other systems, you may find you need to specify a right margin larger than the default. This option allows a maximum right margin of 132.

Related information



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us