FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


CHANGE DOUBLE PRECISION TO REAL

Syntax:

CHANGE DOUBLE [PRECISION] [TO] REAL [*<integer>]

Function:

Systematically changes DOUBLE PRECISION declarations to REAL declarations, with the specified size, or of the current DOUBLE PRECISION size if no size is specified. IMPLICIT statements and data type statements are modified throughout the program.

The new data type and size 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 REAL TO DOUBLE PRECISION changes REAL declarations to DOUBLE PRECISION declarations systematically throughout a program.

Where to use this command:

Operating system command line

Yes


Configuration file, config.fsp

Yes


Specification (FSP) files, *.fsp

Yes


Interactively, to FPT> prompt:

No


Interactive command files

No


Embedded in the Fortran code

Yes


Default:

Declarations are not changed by default (Note that defaults may be changed in the configuration file).

Example:

$ fpt heli "%change double precision to real*8"

See also:

CHANGE REAL TO DOUBLE PRECISION

CHANGE SIZE

CHECK ARGUMENTS

CHECK NAMES

COMMON BLOCK LISTING


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