User and Reference Guide for the Intel® Fortran Compiler 14.0

altparam

Allows alternate syntax (without parentheses) for PARAMETER statements.

Syntax

Linux OS and OS X:

-altparam

-noaltparam

Windows OS:

/altparam

/noaltparam

Arguments

None

Default

altparam

The alternate syntax for PARAMETER statements is allowed.

Description

This option specifies that the alternate syntax for PARAMETER statements is allowed. The alternate syntax is:

PARAMETER c = expr [, c = expr] ...

This statement assigns a name to a constant (as does the standard PARAMETER statement), but there are no parentheses surrounding the assignment list.

In this alternative statement, the form of the constant, rather than implicit or explicit typing of the name, determines the data type of the variable.

IDE Equivalent

Windows: Language > Enable Alternate PARAMETER Syntax

Linux: None

OS X: Language > Enable Alternate PARAMETER Syntax

Alternate Options

altparam

Linux and OS X: None

Windows: /4Yaltparam

noaltparam

Linux and OS X: None

Windows: /4Naltparam


Submit feedback on this help topic