FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


CALL STRUCTURE LISTING

Syntax:

CALL STRUCTURE LISTING

NO CALL STRUCTURE LISTING

DO NOT LIST CALL STRUCTURE

Function:

Instructs FPT to generate a listing of the program call structure. The listing is divided into two sections. Firstly, the sub-programs are listed in alphabetical order and the routines by which they are called, and the routines which they in turn call, are listed. An example listing is shown below:

SUBROUTINE ISGO
---------------
 
Called by:
   CHESS
 
Sub-programs Called:
   ISCAS         BMOVE          WMOVE

Secondly, a call tree of the entire program or suite of programs is displayed. Please see the SHOW CALL TREE command for a description of the settings which control this display. Sub-programs which have not been read by FPT are shown in parenthesis, as is SECNDS in the example below.

Call Tree: CHESS
================
    0   CHESS
    1   !  (SECNDS)
    1   !  HEUR
    2   !  !  MYCAS
    3   !  !  !  BMOVE
    2   !  !  WMOVE

(The listing continues)

When FPT is run interactively, the listing is directed to the screen by default. It may be re-directed by the commands [NO] LIST TO FILE and [NO] LIST TO TERMINAL.

An interactive listing may be terminated by the command STOP CALL STRUCTURE LISTING.

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 CALL STRUCTURE LISTING

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

See also:

CALL STRUCTURE LISTING DEPTH

SHOW CALL TREE


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