JunosE 11.3.x System Basics Configuration Guide
466
Table 52: Macro Operators (continued)
Operation Type
Operators
String
$
Multiplicative
*
Arithmetic
+
Relational
<
Logical
||
Assignment
:=
Miscellaneous
[ ]
Table 53 on page 466 briefly describes the action performed by each operator.
Table 53: Operator Actions
Operation
Arithmetic (binary)
Arithmetic (binary)
Assignment
Combine
Less than
Greater than
Less than or equal to
Greater than or equal to
/
%
–
++
– –
>
<=
>=
&&
!
,
( )
.
Operator
Action
+
Adds the right and left sides together
–
Subtracts the element to the right of the operator from
the element to the left of the operator
:=
Evaluates the elements to the right of the operator, then
assigns that value to the local variable to the left of the
operator
$
Creates a new string by joining the values of the right and
left sides; converts any numeric values to strings before
joining
<
Evaluates as true (returns a 1) if the element to the left
of the operator is less than the expression to the right of
the operator; otherwise the result is false (0)
>
Evaluates as true (returns a 1) if the element to the left
of the operator is greater than the expression to the right
of the operator; otherwise the result is false (0)
<=
Evaluates as true (returns a 1) if the element to the left
of the operator is less than or equal to the expression to
the right of the operator; otherwise the result is false (0)
>=
Evaluates as true (returns a 1) if the element to the left
of the operator is greater than or equal to the expression
to the right of the operator; otherwise the result is false
(0)
=
!=
;
<#
#>
Copyright © 2010, Juniper Networks, Inc.
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - SYSTEM BASICS CONFIGURATION GUIDE 2010-10-04 and is the answer not in the manual?
Questions and answers