Next: , Up: Statements Assignment

The way an assignment looks like:

     L-value := expression;

This statement assigns any valid expression to L-value. Make sure that the result of expression is compatible with L-value, otherwise an compilation error is reported. The := is called assignment operator. As long as L-value and expression are type compatible, they are assignment compatible for any definable type as well.