Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

altparam

Allows alternate syntax (without parentheses) for PARAMETER statements.

Syntax

Linux:

-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

Alternate Options

altparam

Linux: None

Windows: /4Yaltparam

noaltparam

Linux: None

Windows: /4Naltparam