FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


COMMON BLOCK NAMELIST NAME

Syntax:

COMMON [BLOCK] NAMELIST NAME [:] <identifier>

COMMONS NAMELIST NAME [:] <identifier>

Function:

The command BUILD NAMELIST FOR COMMON BLOCKS instructs FPT to generate a NAMELIST which contains all of the variables in COMMON blocks in the entire program. The NAMELIST may then be used to initialise the program or to control it at run-time.

By default, the NAMELIST for the COMMON blocks is named /COMMONS/. It may be changed by the command COMMON BLOCK NAMELIST NAME.

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:

COMMON BLOCK NAMELIST NAME : COMMONS

Example:

In an FSP file:

%build namelist for common blocks
%common block namelist name : simplex_list
%move common blocks to a single INCLUDE file

See also:

BUILD NAMELIST FOR COMMON BLOCKS


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