fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

EVALUATE INTRINSICS IN PARAMETER STATEMENTS

Syntax:

EVALUATE INTRINSICS IN PARAMETER STATEMENTS

Function:

Parameter values which are written as expressions which contain intrinsic functions are replaced by the literal values. Some Fortran systems do not support the use of intrinsic functions in parameter statements.

This command does not change the intrinsic function CHAR in parameter statements. The commands CHANGE CHARACTER PARAMETERS TO CHAR() and CHANGE CHARACTER PARAMETERS TO HEX may be used to change the representation of character parameters.

Where to Use this Command

Operating system command line Yes
Configuration file, config.fsp Yes
Specification (fsp) files, *.fsp Yes
Interactively, to FPT> prompt Yes
Interactive command files Yes
Embedded in the Fortran code Yes

Examples

The parameter statement:

PARAMETER (cosbr=COSD(62.4))

is changed to:

PARAMETER (cosbr= 0.463296035027670305D+00)

See Also

CHANGE CHARACTER PARAMETERS TO CHAR()

CHANGE CHARACTER PARAMETERS TO HEX

Copyright ©1995 to 2022 Software Validation Ltd. All rights reserved.