`Operators`

Assignment operators

= Assigns the value of the second operand to the first operand.

Mathematical Operators:

+ (Addition) Adds 2 numbers

- (subtraction) Subtracts the value of its argument.

* (Multiplication) Multiplies 2 numbers.

/ (Division) Divides 2 numbers.

% (Modulus) Computes the integer remainder of dividing 2 numbers.

+= Adds 2 numbers and assigns the result to the first.

-= Subtracts 2 numbers and assigns the result to the first.

*= Multiplies 2 numbers and assigns the result to the first.

/= Divides 2 numbers and assigns the result to the first.

%= Computes the modulus of 2 numbers and assigns the result to the first.

++ (Increment) Adds one to a variable representing a number (returning either the new or old value of the variable)

-- (Decrement) Subtracts one from a variable representing a number (returning either the new or old value of the variable)

Bitwise Operators:

~ (Bitwise NOT) Flips the bits of its operand.

| (Bitwise OR) Returns a one in a bit if bits of either operand is one.

& (Bitwise AND) Returns a one in each bit position if bits of both operands are ones.

^ (Bitwise XOR) Returns a one in a bit position if bits of one but not both operands are one.

<< (Left shift) Shifts its first operand in binary representation the number of bits to the left specified in the second operand, shifting in zeros from the right.

>> (Sign-propagating right shift) Shifts the first operand in binary representation the number of bits to the right specified in the second operand, discarding bits shifted off.

|= Performs a bitwise OR and assigns the result to the first operand.

&= Performs a bitwise AND and assigns the result to the first operand.

^= Performs a bitwise XOR and assigns the result to the first operand.

<<= Performs a left shift and assigns the result to the first operand.

>>= Performs a sign-propagating right shift and assigns the result to the first operand.

String operators::

@ Concatenates one or more values together to form a new value

NL Concatenates one value together with a new line to form a new value

TAB Concatenates one value together with a tab to form a new value

SPC Concatenates one value together with a space to form a new value

Logical Operators:

! evaluates the opposite of the value specified

&& requires both values to be true for the result to be true.

|| requires only one value to be true for the result to be true.

Relational Operators:

== value1 and value2 are equal

!= value1 and value2 are not equal

< value1 is less than value2

> value1 is greater than value2

<= value1 is less than or equal to value2

>= value1 is greater than or equal to value2

String comparison Operators:

$= string1 is equal to string2

!$= string1 is not equal to string2

Now do you understand?