Menu

Operators

Use operators to perform operations on tokens.

Assignment

Operator Name Example
= Assign x = y

Arithmetic

Operator Name Example
+ Addition x + y
- Subtraction x - y
* Multiplication x * y
/ Division x / y

Comparison

Operator Name Example
== Equal x == y
!= Not equal x != y
> Greater than x > y
< Less than x < y
>= Greater than or equal to x >= y
<= Less than or equal to x <= y
Menu