fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
REMOVE NUMERIC SIZES
Syntax:
[DO NOT] REMOVE NUMERIC SIZES
Function:
Systematically removes the *n size specifications from all numeric declarations. Note that declarations of the form INTEGER*4 are non-standard and are not accepted by all Fortran compilers.
Note that the removal of the size specifications may change the data sizes of the objects. This may have side-effects in precision of calculations and the organisation of COMMON blocks. It is recommended that COMMON blocks are examined with the CHECK EQUIVALENCE and COMMON BLOCK LISTING commands before this change is made.
The command SPECIFY NUMERIC SIZES systematically adds the *n size specifications.
The commands CHANGE SIZES TO KINDS replaces the non-standard size specifications by KIND specifications.
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
Numeric size specifications are not changed by default. (Note that defaults may be changed in the configuration file)
Examples
The code:
REAL*8 FUNCTION HLLIM(V,H,L,IE) IMPLICIT REAL*8 (A-Z) INTEGER*2 IE
is modified to read:
REAL FUNCTION HLLIM(V,H,L,IE) IMPLICIT REAL (A-Z) INTEGER IE
See Also
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.