Assignment Statements

<< Click to Display Table of Contents >>

Home  mIoTa BASIC > mIoTa BASIC Language Reference > Statements >

Assignment Statements

Assignment statements take the following form ..

 

variable = expression;

 

The statement evaluates expression and assigns its value to variable.

 

The variable must be predeclared in the Variables Panel, and the expression must conform to the same data type as the variable.

 

Note:  The '=' is also used as a relational operator which tests for equality of two expressions.

 

 

Related topics: Data Types, Variables, Variables Panel