FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


COMMON BLOCK LISTING

Syntax:

[NO] COMMON [ BLOCK ] LISTING

Function:

Instructs FPT to generate a listing of all COMMON blocks. The listing is organised by COMMON block address and shows the variables at each COMMON block address in each sub-program.

The organisation of COMMON blocks depends on the data sizes of the objects within them. The data size of an object is the number of bytes (or other machine units) which each element of the object occupies in memory. For example, the data size of an integer or a real is typically 4 bytes, the data size of a double precision variable is typically 8 bytes. These sizes may be specified by the commands DEFAULT LOGICAL SIZE, DEFAULT INTEGER SIZE etc. and the commands CHANGE LOGICAL SIZE, CHANGE INTEGER SIZE etc.

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 COMMON BLOCK LISTING

(Note that defaults may be changed in the configuration file)

Examples:

$ fpt %common_listing nonpar.fsp

FPT> common list


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