FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


SHOW CALL STRUCTURE

Syntax:

SHOW CALL STRUCTURE

NO CALL STRUCTURE LISTING

DO NOT LIST CALL STRUCTURE

Function:

This command is equivalent to CALL STRUCTURE LISTING and to LIST CALL STRUCTURE. It 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

(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

No


Specification (FSP) files, *.fsp

Yes


Interactively, to FPT> prompt:

Yes


Interactive command files

Yes


Embedded in the Fortran code

No


See also:

CALL STRUCTURE LISTING DEPTH

SHOW CALL TREE


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