fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

CHANGE INTEGER*1 TO BYTE

Syntax:

CHANGE INTEGER*1 [TO] BYTE

Function:

Declarations of the data type and size INTEGER*1 are systematically changed to BYTE.

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 No

Default

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

Examples

In an FSP file, for porting from Salford FTN77 to VAX/VMS V5.1

% change integer*1 to byte

changes the statement:

INTEGER*1 slen,i1a

to:

BYTE slen,i1a

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