FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


CHANGE EXTENDED MEMORY STATEMENTS TO STANDARD FORM

Syntax:

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

Function:

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 !------------------------------------------------------------------------------ END ! CHEM ************************************************************

The EXTENDED DUMMY and EXTENDED BASE statements have no equivalents in standard Fortran. 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

Yes


Default:

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


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