Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-149
Default Value
Default Value
If you do not supply a new value for the data item, register or signal, Inspect prompts
you for it.
Usage Considerations
Using the := and = Assignment Operators
There is no difference between the two forms of the assignment operator. Either :=
or = can be used.
Prompting for New Values
When you modify a data item, Inspect normally prompts you for new values if the
modifier list is not specified or does not contain enough values to fill the given data
item. Inspect will not prompt if you use the WHOLE clause or if the MODIFY
command is in an OBEY command file. In the latter case, if the new values do not
completely fill the data item, the remainder is left unchanged.
Inspect prompts you by displaying each element of the data item with its name and
current value. Entering a value modifies the element, and entering a comma
retains the current value. Inspect continues prompting until the last element of the
data item is displayed, or until you enter only a RETURN (indicating that there are
no further modifications).
Modifying Registers
If no value is specified, the current value of the register is displayed in the current
output radix and a prompt is issued for a new value.
Modifying Strings
When you modify a string variable, the new string cannot exceed 250 bytes. If it
does, Inspect displays this warning message:
Inspect changes only the first 250 characters of the string. To avoid this restriction,
modify the string in parts:
Modifying Signals
There are three pieces of information associated with a signal: the signal handler,
the mask, and a flags word. Inspect prompts you for the values of the mask and
flags word if they have been omitted. The mask is composed of 128-bits split into
4-32 bit double words.
** Inspect warning 95 ** Maximum string length (250 bytes) is exceeded.
String is truncated.
-PRG-MODIFY string(1:100) = "100 characters..."
-PRG-MODIFY string(101:200) = "100 more characters..."
-PRG-MODIFY string(201:300) = "another 100 characters..."