fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
CHANGE BYTE TO INTEGER
[DO NOT] CHANGE BYTE [TO] INTEGER [*<integer>]
Systematically changes BYTE declarations to INTEGER declarations, with the specified size if a size specification is made. IMPLICIT statements 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).
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||No|
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 byte to integer*1"
CHANGE SIZE CHECK ARGUMENTS CHECK NAMES COMMON BLOCK LISTING
Copyright ©1995 to 2018 Software Validation Ltd. All rights reserved.