### 15.1.6 FIXEDFORMLINESIZE Directive

The FIXEDFORMLINESIZE directive sets the line length for fixed-form source code. The directive takes the following form: [See Note]

  cDEC$ FIXEDFORMLINESIZE:{72|80|132}
  c
  Is one of the following: C (or c), !, or * (see Section 15.1.1).

You can set FIXEDFORMLINESIZE to 72 (the default), 80, or 132 characters. The FIXEDFORMLINESIZE setting remains in effect until the end of the file, or until it is reset.

The FIXEDFORMLINESIZE directive sets the source-code line length in include files, but not in USE modules, which are compiled separately. If an include file resets the line length, the change does not affect the host file.

This directive has no effect on free-form source code.

Examples

Consider the following:

    cDEC$ NOFREEFORM
    cDEC$ FIXEDFORMLINESIZE:132
    WRITE (*,*) 'Sentence that goes beyond the 72nd column without continuation.'

  Note: The following form is also allowed: `!MS$FIXEDFORMLINESIZE:{72|80|132}`

For More Information:

- On syntax rules for all general directives, see Section 15.1.1.
- On fixed-format source code, see Section 2.3.2.

Previous Page Next Page Table of Contents