Native Inspect Manual (H06.03+)

Table Of Contents
Syntax of Native Inspect Commands
Native Inspect Manual528122-003
3-8
Syntax of expression
operator
is one of !=, ==, < or >.
value
is an integer.
Syntax of expression
expression
is a list of operands and operators which, when evaluated, result in a number or a
string. Valid operators are those accepted by the source language in which the
target being debugged is compiled.
Native Inspect does not support expressions in pTAL. To specify pTAL
expressions, use C-style syntax:
Other valid expressions are:
$, $$
refers to the last two values printed. For example, print $$ redisplays
the next-to-last value printed.
$number
refers to results of previous print commands, which are saved on the value
history list. For example, print $1 redisplays the previous value printed
pTAL C-Style
x :=y; x = y;
flag := (a<>b); flag = (a !=b);
pTAL pointer example:
int x[0:9];
int .xptr;
...
@xptr ;= @x[0];
...
Using C-style pointers:
To display the address, enter:
p xptr
To dereference ptr (display what
xptr points to), enter:
p *xptr
Variable names are not case-
sensitive.
(To make Native Inspect
recognize pTAL variable names,
use the set command
(environment) with the language
ptal option.)
Variable names are case-
sensitive.