Integer Variables and Arrays
Integer variables are internally represented as 32-bit values. Integer variable names are similar to regular numeric variables except they must have a percent sign "%" at the end:
|
Likewise, integer arrays may be used:
|
The names of integer variables are not in conflict with regular numeric variables. Any attempt to assign a non-integer value to an integer variable will result in an error.
|
|
(OK) |
|
|
(ERROR) |
|
|
(OK since B contains an integer) |
Generally, integer variables may be mixed in calculations with regular numeric variables.