Inspect Manual

Using Inspect With TAL and pTAL
Inspect Manual429164-006
13-6
Default Values
defined data type; identifier then specifies the entire variable or the type
definition.
data-reference '[' subscript-range ']'
specifies an array variable.
subscript-range
specifies the subscript of an array element or the subscript range of a
group of array elements.
data-reference.identifier
specifies a field of a structure variable.
Default Values
If you do not specify scope-path, Inspect uses the current scope path.
Usage Considerations
A data location must refer to an object defined in a procedure that was compiled
with the SYMBOLS directive. The location can be anywhere in an active scope
unit.
You must qualify an identifier to denote a data item uniquely. If an unqualified
identifier could refer to more than one data item, Inspect issues an error message
stating that the reference is ambiguous (except when you are using the INFO
IDENTIFIER command, which reports all occurrences of the identifier).
To qualify a sublocal, you must precede the sublocal with it's subprocedure name.
Inspect will not automatically expand a TAL identifier that was described by a TAL
DEFINE declaration; however, the defined text is displayed when the identifier is
specified in the INFO IDENTIFIER command.
Usage Considerations for TAL Programs
Inspect recognizes the name associated with an index register by a USE statement
as a data location identifier. You can display and modify the TAL index registers—
R[5], R[6], and R[7]—by referring to the name associated with the index register.
If you drop or push the name assigned to an index register, Inspect still allows
access to the index register without displaying a warning.
The values of sublocal variables and subprocedure arguments are accessible only
if the subprocedure is current and if the stack pointer (S register) has not been
modified by the subprocedure or by any subprocedure called by that
subprocedure. The concept of instance does not apply to sublocal variables and
subprocedure arguments.