Inspect Manual

Using Inspect With FORTRAN
Inspect Manual429164-006
11-13
INFO OPENS
names, so you must qualify a statement function name with its scope name if you
want to request information on the attributes of a statement function.
The data types reported by Inspect are not designated in terms of any one
language. Therefore, FORTRAN integers are marked as BIN SIGN, while
FORTRAN real, complex, logical, and character items are marked as REAL,
COMPLEX, LOGICAL, and CHAR, respectively.
If you request a listing of the attributes of an entire program unit, they are listed in
an order determined by the FORTRAN compiler:
All identifiers that are not components of records are listed in alphabetical
order. When a record identifier is listed, its components and their attributes are
immediately listed in record-layout order.
All statement labels are listed in numeric order.
INFO OPENS
The suffix “F” indicates that numeric values are FORTRAN logical unit numbers. If you
do not include this suffix, Inspect assumes file system numbers.
MODIFY
Just as in FORTRAN itself, you can MODIFY a variable that is named in an
EQUIVALENCE statement.
A complex constant is represented as a pair of numeric values separated by a
comma and delimited by parentheses, just as the constant would appear in a
FORTRAN program.
Record elements named FILLER cannot be explicitly modified, and an interactive
MODIFY command will not prompt you for them. A MODIFY WHOLE will assign
characters to all positions in a record, including those designated FILLER.
SCOPE
In FORTRAN, the scope of an identifier is always the name of the scope unit in
which the identifier is declared. COMMON blocks and statement functions are not
really scope units; they refer to identifiers declared in other scope units.
If you have identifiers of the same name in different scope units, be sure that you
qualify the identifiers enough for Inspect to distinguish them.
SET RADIX
Even if you set your input radix to hexadecimal, you must still prefix a hexadecimal
value with zero or “%H” if its first digit is above nine; otherwise, Inspect interprets the
value as an identifier.