# zero, Qzero

Initializes to zero variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are not yet initialized. This is a deprecated option. The replacement option is /Qinit:[no]zero or -init=[no]zero.

## Syntax

Linux: | -zero -nozero

macOS: | -zero -nozero

Windows: | /Qzero /Qzero-

## Arguments

None

## Default

-nozero or /Qzero- | Variables are not initialized to zero.

## Description

This option initializes to zero variables of intrinsic type INTEGER, REAL, COMPLEX, or LOGICAL that are not yet initialized.

Use option [Q]save on the command line to make all local variables specifically marked as SAVE.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Data Options

## See Also

init, Qinit compiler option (see setting zero)
save compiler option