Inspect Manual

Inspect Manual429164-006
11-1
11 Using Inspect With FORTRAN
Scope Units and Scope Paths on page 11-1
Code Locations on page 11-2
Data Locations on page 11-5
Expressions on page 11-8
FORTRAN Data Types and Inspect on page 11-8
Inspect Enhancements and Restrictions for FORTRAN on page 11-11
Command Usage Guidelines for FORTRAN Programmers on page 11-11
Scope Units and Scope Paths
FORTRAN has three types of scope units: program, subroutine, and function. When
debugging a program written in FORTRAN, you must specify one of these types
whenever an Inspect command expects a scope unit.
Here is the syntax you use to identify FORTRAN scope paths in Inspect.
scope-path:
#scope-unit
scope-unit: one of
program
subroutine
function
Usage Consideration
BLOCK DATA
Note that BLOCK DATA subprograms are not listed as a type of FORTRAN scope
unit. You cannot directly access the data initialization in a BLOCK DATA
subprogram; however, you can access the initialized common data through the
variables you associate with common data in a COMMON statement.