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

extend-source

Specifies the length of the statement field in a fixed-form source file.

Syntax

Linux:

-extend-source [size]

-noextend-source

Windows:

/extend-source[:size]

/noextend-source

Arguments

size

Is the length of the statement field in a fixed-form source file. Possible values are: 72, 80, or 132.

Default

72

If you do not specify this option or you specify noextend-source, the statement field ends at column 72.

132

If you specify extend-source without size, the statement field ends at column 132.

Description

This option specifies the size (column number) of the statement field of a source line in a fixed-form source file. This option is valid only for fixed-form files; it is ignored for free-form files.

When size is specified, it is the last column parsed as part of the statement field. Any columns after that are treated as comments.

If you do not specify size, it is the same as specifying extend-source 132.

Option

Description

extend-source 72

Specifies that the statement field ends at column 72.

extend-source 80

Specifies that the statement field ends at column 80.

extend-source 132

Specifies that the statement field ends at column 132.

IDE Equivalent

Visual Studio: Language > Fixed Form Line Length

Alternate Options

extend-source 72

Linux: -72

Windows: /4L72

extend-source 80

Linux: -80

Windows: /4L80

extend-source 132

Linux: -132

Windows: /4L132