Native Inspect Manual (H06.04+)
Syntax of Native Inspect Commands
Native Inspect Manual—528122-005
4-69
set command (variable)
To set the number of elements to print:
set command (variable)
Evaluates an expression and assigns the resulting value to a variable.
var-name
is the name of a variable in the current process.
expression
is an expression whose value you want to be assigned to var-name.
value
is a value you want to be assigned to var-name.
Consideration
Although the keyword variable is optional, you must include it if the name of the
variable you are setting conflicts with the name of an option supported by the set
command (environment).
For example, a variable name p conflicts with the print option of the set command, and
entering a set command without the variable keyword results in an error:
(eInspect 1,187): set p=6
Undefined set print command: "=6". Try "help set print".
In this case, you must use one of these alternatives:
•
Modify the value of the variable by using the assignment operator with the print
command:
print p=6
•
Include the variable option in your set command:
set variable p=6
(eInspect 4,774): set print elements 5
(eInspect 4,774): print pcb->attribute
$5 = {0x0,
0x0,
0x0,
0x0,
0x0...}
set [ variable ] var-name { expression | value }










