Command Reference
READ_FROM_ARRAY
Table explanation
Group Variables
Syntax READ_FROM_ARRAY <Index> <Variable>
Op. Code 159
Modes Immediate; Sequential; Program
Description Reads the value of an array element according to <index> and
sets it to <variable>.
Index Decimal value in range of 1-512 representing the
index of the member in the data array.
Serial 2 U V
Syntax
Arguments
Variable
Any of the read/write system variables. See
Chapter
9, List of System Variables.
Serial 1 U
Example READ_FROM_ARRAY 291 Var_01
Index 1 2 3 ... 291 ... 512
Value 56312
Example
Explanation
Var_01 will be equal to 56312.
See Also SET_VAR, WRITE_TO_ARRAY, GET_FROM_ARRAY (Only in
immediate or sequential mode)
XtraWare User Manual 145