Native Inspect Manual (H06.07+)

Syntax of Native Inspect Commands
Native Inspect Manual528122-006
4-58
print command
print command
Evaluates and displays the value of a specified expression.
The print command assigns a number to each output value, and the displayed result is
saved in the value history buffer. You can use the value history buffer to display the
result of previous print commands; specify the number assigned by the print command
($1, $2, $3, and so on).
Entered with no options, redisplays the last value in the value history buffer.
Special options accepted by the print command are:
$ refers to the last print display.
$$ refers to the next-to-last print display.
Related Commands: info locals, info args
Alias: p
/format
is an optional count, format, and size specification.
expression
evaluates the expression and assigns its value to a variable.
In COBOL expressions, use COBOL operators, and in C and pTAL expressions,
use the standard C assignment operators, including +=, *=, and \=.
print [ /format ] expression