Hello all, I have an Array (@K1) that I do not quite understand and was looking for clarity. The array (@K1) sets a counter var ($I) at 1, then a LOKUP@K1, $I is executed using $K1 as the key, if found it sets on *IN90.
What I do not understand is that right after that, if *IN90 is off, it uses *BLANKS to do the same LOKUP and sets on *IN90 if found.
Here are my questions:
Is this an old programming trick to find some type of record even though it uses *BLANKS as the key?
If *IN90 is on (1) it adds the $K1 to the arrays, correct?
Here’s the code:
Z-ADD1 $I 40
$K1 LOKUP@K1,$I 90
*IN90 IFEQ '0'
*BLANKS LOKUP@K1,$I 90
*IN90 IFEQ '1'
SUB QPGPA @A1,$I
Any help would be greatly appreciated. Thanks! Jeff