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. mikroBasic PRO for 8051 will interpret the meaning of the character =
from the context.
Copyright (c) 2002-2013 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
What do you think about this topic ? Send us feedback!