The following example of the assignment statement can be used for internal data movement. The value of the expression on the right of the assignment symbol is assigned to the variable on the left.
NTOT=TOT;
The following example includes an expression whose value is to be assigned to the variable on the left of the assignment symbol:
Av=(Av*Num+Tav*Tnum)/(Num+Tnum);