Next: , Previous: , Up: Assignment   [Contents][Index]


7.1.1 Straight Assignment

In a straight assignment the whole data contents of a variable are replaced, as follows:

var = expr

The variable receives as its value a copy of the value of the expression, and assumes the data class and type of the expression. The expression is not changed in any way by this assignment.