|
Operators |
Assignment Operators
|
= |
Assign a value to a variable
Example: |
|
+= |
Add a value
to a variable Example: |
|
-= |
Subtract a value
from a variable Example: |
|
*= |
Multiply a variable
by a value Example: |
|
/= |
Divide a variable
by a value Example: |
Arithmetic Operators
| x + y | Addition |
| x - y | Subtraction |
| x * y | Multiplication |
| x / y | Division |
| x And y | Perform a bitwise And operation |
| x Or y | Perform a bitwise Or operation |
| x Xor y | Perform a bitwise Exclusive Or operation |
| x << y | Return the result of shifting the bits of x to the left y bits |
| x >> y | Return the result of shifting the bits of x to the right y bits |
Comparison Operators
| = | Equal |
| <> | Not equal |
| > | Greater than |
| >= | Greater than or equal |
| < | Less than |
| <= | Less than or equal |
| And | |
| Or | |
| Not |