Inspect Manual

High-Level Inspect Commands
Inspect Manual429164-006
6-182
Default Values
Default Values
If you specify neither INPUT nor OUTPUT, Inspect sets both the input and output
radixes to radix.
If you omit level, SET RADIX affects the current command mode.
The default INSPLOCL file sets the radixes as follows:
Usage Considerations
Hexadecimal Numbers
Inspect accepts the hexadecimal digits A through F in either uppercase or
lowercase. To specify a hexadecimal number whose first digit is in the range A
through F, you must prefix it with a zero or the hexadecimal qualifier (%h or %H).
For example, once you've set your input radix to hexadecimal, the value 9FF is
acceptable without qualification, but the value A00 must be entered as
0A00,%hA00, or %HA00.
When Inspect Uses the Input Radix
Inspect uses the current input radix to interpret values in expressions. It does not
use the current input radix to interpret line numbers, statement numbers,
breakpoint numbers, and other such measurement or identifier numbers.
Related Commands
DISPLAY on page 6-33
SET CHARACTER FORMAT on page 6-172
SHOW with RADIX option on page 6-194
Example
This example demonstrates various SET RADIX commands using the integer variable
GABRIEL. Note that the initial default radix is decimal:
Switch both radixes and display:
SET RADIX INPUT HIGH = DECIMAL
SET RADIX OUTPUT HIGH = DECIMAL
SET RADIX INPUT LOW = OCTAL
SET RADIX OUTPUT LOW = OCTAL
-TALOBJ-DISPLAY gabriel
GABRIEL = 135
-TALOBJ-SET RADIX = OCTAL; DISPLAY gabriel
GABRIEL = %207