Intel® Fortran Compiler 16.0 User and Reference Guide

altparam

Allows alternate syntax (without parentheses) for PARAMETER statements.

Syntax

Linux and OS X:

-altparam

-noaltparam

Windows:

/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

Visual Studio: Language > Enable Alternate PARAMETER Syntax

Eclipse: None

Xcode: Language > Enable Alternate PARAMETER Syntax

Alternate Options

altparam

Linux and OS X: None

Windows: /4Yaltparam

noaltparam

Linux and OS X: None

Windows: /4Naltparam