fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
CHANGE DATA STATEMENTS WITH PARENTHESES
[DO NOT] CHANGE DATA STATEMENTS WITH PARENTHESES TO STANDARD [FORM]
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|
No change is made by default.
Thanks are due to James Hale and Denys Beauchemin at Sector7 Inc. who found this usage in VMS code.
Copyright ©1995 to 2022 Software Validation Ltd. All rights reserved.