Boolean Operations

Operator Name Example
! logical negation operator case(!(f(x))
|| logical OR operator case(a || b || f(x))
&& logical AND operator case(a && f(x))
== equality operator case(a == b)
!= inequality operator case(a != b)

Float Operations

Operator Name Example
- unary minus operator a = -b
- binary minus operator a = b - c
+ plus operator a = c + b
* multiply operator x = y*f(x)
/ division operator x = 4 / d
% modulus operator (remainder) a = b % 10

Float Comparison Operators

  Name Example
< less than operator case(a < b)
<= less than or equal operator case(a <= b)
> greater than operator case(a > b)
>= greater than or equal operator case(a >= b)
== equality operator case(a == b)
!= inequality operator case(a != b)

String Operations

Operator Name Example
+ string concatenate a = "City" + "Engine"
+ string-float concatenate

a = "Rule:" + 1

a = 1 + "th Rule"

String Comparison Operators

  Name Example
< less than operator case(a < b)
<= less than or equal operator case(a <= b)
> greater than operator case(a > b)
>= greater than or equal operator case(a >= b)
== equality operator case(a == b)
!= inequality operator case(a != b)

 

Copyright ©2008-2016 Esri R&D Center Zurich. All rights reserved.