# fixed

Specifies source files are in fixed format.

## Syntax

Linux: | -fixed -nofixed

macOS: | -fixed -nofixed

Windows: | /fixed /nofixed

## Arguments

None

## Default

OFF | The source file format is determined from the file extension.

## Description

This option specifies source files are in fixed format. If this option is not specified, format is determined as follows:

- Files with an extension of .f90, .F90, or .i90 are free-format source files.

- Files with an extension of .f, .for, .FOR, .ftn, .FTN, .fpp, .FPP, or .i are fixed-format files.

Note that on Linux* and macOS systems, file names and file extensions are case sensitive.

## IDE Equivalent

Visual Studio: Language > Source File Format (/free, /fixed)

## Alternate Options

Linux and macOS: -FI

Windows: /nofree, /FI, /4Nf

Parent topic: Language Options