fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

CHANGE EXTENDED MEMORY STATEMENTS TO STANDARD FORM

Syntax:

[DO NOT] CHANGE EXTENDED MEMORY [STATEMENTS] [TO STANDARD FORM]

Function:

This command is used when migrating code from Gould-SEL MPX machines.

The Gould-SEL (Encore) MPX Fortran 77 extended memory statements are commented-out and, where appropriate, are replaced by standard Fortran constructs. For example, the code:

SUBROUTINE CHEM(A) EXTENDED DUMMY A EXTENDED BLOCK /EB/ B,C,D EXTENDED BASE /EB/ 4000

is modified to read:

SUBROUTINE chem(a) ! fpt EXTENDED DUMMY a !---------------^-------------------------------------------------------------- !!! fpt - 3217 Extended memory construct changed or removed !------------------------------------------------------------------------------ COMMON /eb/b,c,d !------------^----------------------------------------------------------------- !!! fpt - 3217 Extended memory construct changed or removed !------------------------------------------------------------------------------ ! fpt EXTENDED BASE/eb/4000 !---------------^-------------------------------------------------------------- !!! fpt - 3217 Extended memory construct changed or removed !------------------------------------------------------------------------------

The EXTENDED DUMMY and EXTENDED BASE statements have no equivalents in standard Fortran and are not required. They are commented-out with the comment delimiter "! fpt ". The EXTENDED BLOCK statement is converted to a COMMON declaration. The changes are marked by diagnostic comments which may be suppressed by the SUPPRESS ERROR command. Note that the code has also been reformatted to free format.

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

No change is made by default (Note that defaults may be modified in the configuration file).

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