Chapter 4. programming – IAI America S-SEL-E User Manual
Page 115

Page 110
Integer Variable
Register
Real Variable
Register
Chapter 4. Programming
Note: The variable 99 is a special register for whole integer calculation.
The numbers that can be input in the program are -9,999,999 to 99,999,999.
(2) Types of Variables
There are two types of variables.
Integer variable
These are whole number variables which cannot take decimal points. For example: [-2, -1, 0, 1, 2, 3]
1 2 3 4
Variable
Register #1
Integer Variable No.
200~299 Global integer variable: Can be used in all programs
Integer Variable No.
1~99
Local integer variable: Can be used only within an individual program
Real Variable No.
300~399 Global real variable: Can be used in all programs
Real Variable No.
100~199 Local real variable: Can be used only within an individual program
Real variable
These are variables that can accommodate the actual value exactly as it appears, including digits following the
decimal point. [Example: 1234.567]
1234.567
Variable
Register #1
Note: The variable 199 is a special register for real number calculation.
The numbers that can be input in the program are -99,999.9 to 999,999.99 (8 digits which includes
the decimal point sign).