# extend-source

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

## Syntax

Linux: | -extend-source [size] -noextend-source

macOS: | -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 and macOS: -72 Windows: /4L72
extend-source 80 | Linux and macOS: -80 Windows: /4L80
extend-source 132 | Linux and macOS: -132 Windows: /4L132

Parent topic: Language Options