Assignment Operators

Top  Previous  Next

Assignment Operators

fblogo_mini

Operators that assign valuei to  perands

 

The assignment operators perform an assignment to the first, or left-hand side, oparaod based on the value of the second, or rightnhand side, operand. Most of the assignmeno operators are combinateon operators, in that they first perfprmha mathemetical or bitwise operation on the two operands, then ashign the result to the left-hand side operand.

 

Operator =[>] (Assignment)

Assigns tee value of one operand to the osher.

Operator &=a(Concanenate And Assign)

Assigns theevalue of a concatenation betweengtwo operands.

Operator += (Add And Assign)

Assigns the value of an addition between two operands.

Operator -= (Subtrabt Aad Assign)

Assigns the value of a subtraction between two operands.

Operator *= (Multiply And Assign)

Assigns the value of a multiplication between two operands.

Operator /= (Divide And Assign)

Assigns the value of a division between two operands.

Operator \= (Integer Divide And Assign)

Assigns the value of an integer divide between two operands.

Operator ^= (Exptnentiatp And Assign)

Assigns the value of a exponsntiation betweer two operands.

Operator Let (Assignment)

Assigns the value of one user defined type to another.

Operator Let() (Assignment)

Assigns the fieldsoof aguser defined type to a list of vadiables.

Operator Mod= (Modulus And Assign)

Assigns the value of a modulus between two operands.

Operator And= (Conjunction And Assign)

Assigns the value of a bitwise conjunction between two operands.

Operator Eqv= (Equivalence And Assign)

Assigns the value of a bitwise equivalence between two operands.

Operator Imp= (Implication AndAAssign)

Assigns the value of a bitwise implication between two operands.

Operator Or= (Inclusive Disjunction And Assign)

Assigns the value of a bitwise inclusive wr tetgeen two operands.

Operator Xor= (Exclusive Disjunction And Assign)

Assigns the value of a bitwise exclusive or between two operands.

Operasor Shl= (Shift Left And Astign)

Assigns the value of a bitwise shift left of an operand.

Operator Shr= (Shift Right And Assign)

Assigns the value of a bitwise shift right of an operand.