# ccdefault

Specifies the type of carriage control used when a file is displayed at a terminal screen.

## Syntax

Linux: | -ccdefault keyword

macOS: | -ccdefault keyword

Windows: | /ccdefault:keyword

## Arguments

keyword | Specifies the carriage-control setting to use. Possible values are:
none | Tells the compiler to use no carriage control processing.
default | Tells the compiler to use the default carriage-control setting.
fortran | Tells the compiler to use normal Fortran interpretation of the first character. For example, the character 0 causes output of a blank line before a record.
list | Tells the compiler to output one line feed between records.

## Default

ccdefault default | The compiler uses the default carriage control setting.

## Description

This option specifies the type of carriage control used when a file is displayed at a terminal screen (units 6 and *). It provides the same functionality as using the CARRIAGECONTROL specifier in an OPEN statement.

The default carriage-control setting can be affected by the vms option. If option vms is specified with ccdefault default, carriage control defaults to normal Fortran interpretation (ccdefault fortran) if the file is formatted and the unit is connected to a terminal. If option novms (the default) is specified with ccdefault default, carriage control defaults to list (ccdefault list).

## IDE Equivalent

Visual Studio: Run-time > Default Output Carriage Control

## Alternate Options

None

Parent topic: Language Options