Assignment Statements
Assignment statements have the following form:
variable := expression;
The statement evaluates expression
and assigns its value to variable
. All the rules of implicit conversion are applied. Variable
can be any declared variable or array element, and expression
can be any expression.
Do not confuse the assignment with relational operator =
which tests for equality. Also note that, although similar, the construction is not related to the declaration of constants.
Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
What do you think about this topic ? Send us feedback!