User guide
eval
eval — evaluate expression
Evaluates a postfix expression.
Syntax
eval
-ib
-io
-id
-ix
-b
-o
-d
-x
operand1 operand2 operator
Arguments
operand1
The first numeric value to be evaluated.
operand2
The second numeric value to be evaluated.
operator
One of the following:
• + Add the operands.
• - Subtract operand2 from operand1.
• * Multiply the operands.
• / Divide operand1 by operand2.
Options
-ib
Indicates that the operands are binary values.
-io
Indicates that the operands are octal values.
-id
Indicates that the operands are decimal values.
-ix
Indicates that the operands are hexadecimal values.
13–32 Console Commands