ARRAY_ELEMENTS: arrays

Basically, only one-dimensional arrays are possible. Multi-dimensional arrays can, however, be simulated by defining a separate type for each dimension. See the following example.

struct[?].name Array160
struct[?].element[0].name a
struct[?].element[0].type REAL64
struct[?].element[0].array_elements 160
var[?].name Array10x160
var[?].type Array160
var[?].array_elements 10

In the NC program:

V.E.Array10x160[i].a[j] (* where i:0..9, j:0..159 *)

In the case of arrays, special aspects must be considered depending on the chosen addressing mode, i.e. index method or AutoMem method. These are described in the following sections.