how to do in 6.1 where %subarray() don’t exist…
I should think this would work
For x = 20 to 24; // Loop 4 times
*IN(x)= 0; // turn indicator off/on
how to do in 6.1 where %subarray() don't exist...
Register Hereor login if you are already a member
Personally, I wouldn't -- code doesn't need to be short just clear.
I would rather not use the indicator array but rather clearly named variables. But if I had to .. then it's like this.
*IN20 = *off;
*IN21 = *off;
*IN22 = *off;
*IN23 = *off;
d myIndAra DS qualified
d my4Inds 4a overlay( myIndAra : 20 )
myIndAra.my4Inds = *zeros ;