Creating and Managing Symbolic Variable Tables
en-938872/2 4 - 5
4
4.1.3 Initialising Variables and Tables
The values are initialised with a default value of zero.
Initialising with other values is made by declaring the character = followed by the initial
value(s) separated by commas «,».
The initial values can be declared in several blocks. In this case, the character = is
repeated before the value(s) defined in the next block.
Example:
VAR [NTB] = 4 [TABLE(2,NTB)] = 3,6
= 10,1,8,2,6,6
ENDV
If
L0= [TABLE(2,3)]
L0= 2 (ie. the loth digit)
Storage in the memory
NBT = 4
TABLE (1.1) = 3
TABLE (2.1) = 6
TABLE (1.2) = 10
(2.2) = 1
(1.3) = 8
(2.3) = 2
(1.4) = 6
(2.4) = 6
2
2
2
2
4 x
Second
dimension
First
dimension