VALUEARRAY <array-name> [<xrange> [,<yrange> [,<zrange>]]] [SAVE] [<data list>]
Note The values specified in <data list> are given in C-style ordering: the z-parameter changes more quickly than y- which changes more quickly than x-. This is the opposite way round to the convention used in FORTRAN.
eg.
VALUEARRAY ANGLES [1:20] 157.60 157.60 157.60 157.60 157.60 133.57 0 107.94 0 107.94 133.57 94.16 133.57 107.94 94.16 107.94 133.57 0 133.57 107.94 VALUEARRAY ARRAY2 [2:6,3] 1 11 21 2 12 22 3 13 23 4 14 24 5 15 25
define a real 1D array ANGLES containing 20 elements and an integer 2D array ARRAY2 spanning from channels 2 to 6 in the first dimension (5 channels) and from channels 0 to 2 in the second. The values will be assigned as follows:
1 -> (2,0), 11 -> (2,1), 21 -> (2,2), 2 -> (3,0), 12 -> (3,1), 22 -> (3,2), 3 -> (4,0), 13 -> (4,1), 23 -> (4,2), etc.
Examples of their use in the commands section would be:
A = B / ANGLES(<argument>) C = ARRAY2(<argument$_1$>,<argument$_2$>)
where <argument> is an integer expression.
Any array elements not initialised by VALUEARRAY are set to zero.