Assignment (=) Statement

An assignment statement is how you put a value into a variable. The variable must have been previously declared with a dim statement.
The new value must match the type of the variable. It overwrites any existing value.

Syntax

<VARIABLE> = <VALUE>

Usage

The following trivial example shows the basic usage.
dim myVariable = 5
print myVariable ' initially 5
myVariable = 6 ' replace the old value with 6
print myVariable ' now it is 6