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 ARM will interpret the meaning of the character = from the context.

Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
Want more examples and libraries? 
Find them on LibStock - A place for the code