Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-148
MODIFY
data-location [ WHOLE ] [ { = | := } mod-list ]
modifies the data item specified by data-location. This data item must describe
an area large enough to hold all values specified by mod-list. In addition, the
data item cannot be a read-only array.
WHOLE
causes Inspect to treat the data item as a string of contiguous characters if it is
a group item (a record or structure, for example).
The WHOLE clause is invalid for PATHWAY requester programs.
mod-list
specifies the new value or list of new values to be assigned to the data item. If
mod-list specifies more than one value, data-location must specify a
portion of an array (that is, an array name and subscript range).
mod-item
specifies a single new value or repeated instances of a single value. The
syntax of mod-item is:
[ integer COPIES ] expression
expression specifies the new value, and the clause integer COPIES
specifies the number of times to repeat the value.
REGISTER register-name [ { = | := } expression ]
modifies the register specified by register-name. Inspect assigns the value of
expression to the given register.
TNS/R registers can only be modified when debugging a TNS/R program.
register-name
is the name of a TNS or TNS/R register.
expression
is an expression that yields the value that is to be assigned to the register.
SIGNAL signal-id [ { = | := } signal-list ]
modifies the signal specified by signal-id.
signal-id
identifies the signal. signal-id can be identified by letters or a number.
signal-list
is the value of the signal.