Inspect Manual
High-Level Inspect Commands
Inspect Manual—429164-006
6-37
Displaying Program Data
Displaying Program Data
DISPLAY command is used to format and display data in the current program,
including SPI buffers and tokens.
This subsection shows how to display non-SPI data. Displaying SPI Data on page 6-48
shows how to display SPI data.
item [ , item ]...
specifies the list of items to display. Inspect determines the default display format
of an item based on the type of value that the item represents.
program-data [ WHOLE ] [ PLAIN ] [ FOR for-spec ]
directs Inspect to display a value found in the data space of the current program.
The type of value that program-data represents determines the default unit used
by the FOR clause.
The WHOLE clause directs Inspect to display the value as a character string. If the
value is a group item (such as a structure or record), Inspect displays it as a single
string.
Note. Data location is different for different languages. For more information, see language-
specific sections.
DISPLAY item [ , item ]... [ formatting-clause ]
item:
display-data [ WHOLE ] [ PLAIN ] [ FOR for-spec ]
display-data: one of
identifier
data-location AS data-type
data-location TYPE display-type
data-location: one of
( expression ) [ SG ]
identifier
formatting-clause: one of
IN base [ base ]...
{ FORMAT | FMT } format-list
PIC mask-string [ , mask-string ]...