fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
CHANGE REAL TO DOUBLE PRECISION
CHANGE REAL*<integer> [TO] DOUBLE [PRECISION]
DO NOT CHANGE REAL TO DOUBLE PRECISION
Systematically changes REAL declarations with the specified size to DOUBLE PRECISION declarations. IMPLICIT statements are modified or added and data type statements are modified throughout the program.
The new type is used to compute the addresses of objects in COMMON blocks and of fields in records which are used by the name and argument checks and in the symbol and COMMON block listings (See CHECK NAMES, CHECK ARGUMENTS, SYMBOL LISTING and COMMON BLOCK LISTING
The command CHANGE DOUBLE PRECISION TO REAL changes DOUBLE PRECISION declarations to REAL declarations systematically throughout a program.
Where to Use this Command
|Operating system command line
|Configuration file, config.fsp
|Specification (fsp) files, *.fsp
|Interactively, to FPT> prompt
|Interactive command files
|Embedded in the Fortran code
Declarations are not changed by default (Note that defaults may be changed in the configuration file).
On the operating system command-line:
$ fpt heli "%change real*8 to double precision"
CHANGE DOUBLE PRECISION TO REAL
COMMON BLOCK LISTING
Copyright ©1995 to 2024 Software Validation Ltd. All rights reserved.