You use value assignment to change the content of a variable by assigning the content of another data object to it. This section deals with the statements designed exclusively for value assignments to variables. However, value assignments also appear in other statements, in which the content of a variable is changed.
When assigning the value of a source object (source) to a destination object (destination), you must distinguish between three cases concerning the data type:
conversion rules and then copied to
destination. Two data types are convertible if a conversion rule exists for them. An exception
occurs if the content of source cannot be treated according
to the conversion rule. An assignment that requires a conversion is always slower than an assignment without conversion.
The following statements are designed for value assignments: