
symbolname = expression '
automatic declaration for INTEGER
or
DIM symbolname AS INTEGER
DIM floatingpoint AS SINGLE
Variables are values which can be manipulated. They are
referenced using names composed of letters, numbers, and character "_". These
reference names cannot contain most other symbols because such symbols are part
of the ARMbasic programming language. They also cannot contain
spaces.
32-bit signed
whole-number data type. Can hold values from -2147483648 to 2147483647.
Single variables can hold positive and negative
numbers 0, 1.0000E-39 to 1.0000E+38. Within this range there are 7
significant digits.
Variables are declared
automatically on first use. A DIM statement is not required, but can be
used. Once a simple variable is declared using a DIM,
then all following variables must be declared that way
.
Only the first 32 characters of a variable name are
used, beyond that they are truncated. Also names are not case sensitive.