fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

CHANGE DATA STATEMENTS WITH PARENTHESES

Syntax:

[DO NOT] CHANGE DATA STATEMENTS WITH PARENTHESES TO STANDARD [FORM]

Function:

Some systems, for example, VMS, CVF and ifort, accept DATA statements of the form:

DATA (c = 2.99792458D8, pi = 3.1415926536D0)

These are non-standard. The command CHANGE DATA STATEMENTS WITH PARENTHESES TO STANDARD FORM changes them to standard DATA statements. The above statement is changed, for example to:

!!! FPT DATA (c = 2.99792458D8, pi = 3.1415926536D0) DATA c /2.99792458D8/ DATA pi /3.1415926536D0/

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

Default

No change is made by default.

Thanks

Thanks are due to James Hale and Denys Beauchemin at Sector7 Inc. who found this usage in VMS code.

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