non-multiples will be "1" not "0" in array:
This commit is contained in:
parent
a701e535cd
commit
eeacfa8f09
|
@ -171,7 +171,7 @@ DEMUXARY(OARY,IARY,DEPTH) ;CONVERT AN XPATH ARRAY PASSED AS IARY TO
|
|||
. I $G(DEPTH)=2 D ;LAST TWO PARTS OF XPATH USED FOR THE VARIABLE NAME
|
||||
. . S ZM=$RE($P($RE(ZK),"/",2))_ZM
|
||||
. S ZL=$P(ZJ,"^",1)
|
||||
. I ZL="" S ZL=0
|
||||
. I ZL="" S ZL=1
|
||||
. I $D(@OARY@(ZL,ZM)) D ;IT'S A DUP
|
||||
. . S @OARY@(ZL,ZM_"[2]")=@IARY@(ZI)
|
||||
. E S @OARY@(ZL,ZM)=@IARY@(ZI)
|
||||
|
|
Loading…
Reference in New Issue