FPT and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Reference Manual Home |
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 J are not accepted by all Fortran 90 compilers.
Note that the removal of the size specifications may change the data sizes of the objects. This may have side-effects in 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.
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:
Numeric size specifications are not changed by default. (Note that defaults may be changed in the configuration file)
Example:
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 2014 Software Validation Ltd. All rights reserved.