fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

CHANGE DATAPOOL TO A STANDARD COMMON BLOCK

Syntax:

[DO NOT] CHANGE DATAPOOL [ TO A STANDARD COMMON [ BLOCK ] ]

Function:

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

The Gould-SEL (Encore) DATAPOOL construct is replaced by a standard Fortran COMMON block named /DATAPOOL/. All variables in the DATAPOOL are declared in a single INCLUDE file which is inserted in every sub-program which needs it. Existing DATAPOOL declarations are removed. The addresses of objects in the DATAPOOL are preserved by writing EQUIVALENCE statements to a new byte array named DP_BYTE which forms a backbone to the /DATAPOOL/ COMMON block.

The command CHANGE DATAPOOL requires that a DATAPOOL listing file has been read. Please see the command DATAPOOL LISTING FILE.

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

The DATAPOOL is not converted by default.

See Also:

DATAPOOL LISTING FILE

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