So I am trying to create a loop to select programs in abb but i am having trouble creating an array of procedures.
Here is the declaration and in the proc calls i am getting data reference error for the first index.
CONST num NUM_STYLES = 7;
PERS num styleNumbers{NUM_STYLES} := [20, 21, 22, 40, 41, 42, 10];
PERS num styleFunctions{NUM_STYLES} := [Proc20, Proc21, Proc22, Proc40, Proc41, Proc42, Proc10];
Can anyone tell is there any other datatype or way to create something like this.