Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-146
MODIFY
2. This example searches for identifiers that contain the characters ERR:
3. This example illustrates the VERBOSE clause of the MATCH IDENTIFIER
command.
4. This example illustrates the MATCH IDENTIFIER command without the VERBOSE
clause.
MODIFY
The MODIFY command changes the value of a data item or register in the current
program. The current program must be in the hold state before you can use MODIFY.
You can specify the new values in the MODIFY command, or you can let Inspect
prompt you for them.
-TALOBJ-MATCH IDENTIFIER *err*, VERBOSE
Searching ER^REPORT^ERROR
ERROR^NUMBER
Searching FLAGS^DATA^BLOCK
OVERRIDE^FLAG
Searching #GLOBAL
FILE^ERR
NEWPROCESS^ERROR
SPOOLER^ERROR
-PROGRAM-MATCH IDENTIFIER Global_Var, VERBOSE
Searching main
Searching Global^Block
Global_var
Searching Proc^A
Searching Proc^B
Searching Proc^C...
-PROGRAM-MATCH IDENTIFIER Global_Var, VERBOSE
Found in scope Global^Block
Global_Var
MODIFY { data-location [ WHOLE ] [ { = | := } mod-list ] }
{ REGISTER register-name [ { = | := } expression ] }
{ SIGNAL signal-id [ { = | := } signal-list ] }
mod-list:
mod-item [ , mod-item ]...
mod-item:
[ integer COPIES ] expression