I have a display file that has 8 character fields, length(char 1). They are called SEL1, SEL2................SEL8). "X" or blank is the only valid value. I want to redefine the fields as an array in the D specs and then loop through the array to see how many array elements contain an "X". If the count is 0 or >1, an error occurs.
I am getting syntax errors re-defining these as an array. So, the question is "how to redefine SEL1, SEL2.........SEL8 as an array
I am getting syntax errors re-defining these as an array. So, the question is "how to redefine SEL1, SEL2.........SEL8 as an array
Comment