Inspect Manual

Using Inspect With TAL and pTAL
Inspect Manual429164-006
13-5
Data Locations
Data Locations
Here is the syntax you use to identify TAL and pTAL data locations in Inspect.
scope-path [ (instance) ]
specifies the procedure containing the data item.
(instance) identifies a specific activation of the data item's parent procedure.
You need to specify an instance only when you want to identify a local data item in
a recursive procedure.
[ scope-path. ] subproc [ (instance) ].
specifies the subprocedure containing the data item.
#data-block
specifies the data block containing the data item.
##GLOBAL
specifies the implicitly named global data block in a TAL or pTAL program.
data-reference
specifies the data item using TAL or pTAL syntax. The recursion in the definition of
data-reference enables you to refer to complex TAL and pTAL data structures.
identifier
specifies a simple or pointer variable. When used in the DISPLAY command,
identifier can also be the name of a structured variable; identifier
then specifies the entire variable. When used in the INFO IDENTIFIER
command, identifier can also be the name of a structured variable or user-
data-location:
[ scope-path [ (instance) ] . ]
[[ scope-path. ] subproc [ (instance) ]. ] data-reference
[ #data-block. ]
[ ##GLOBAL. ]
instance:
[ + | - ] integer
data-reference: one of
identifier
data-reference '[' subscript-range ']'
data-reference.identifier
subscript-range:
expression [ :expression ]