source: WorldVistAEHR/trunk/r/LIBRARY-LBR-LBRS/LBRYX6.m@ 1732

Last change on this file since 1732 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 1.8 KB
RevLine 
[613]1LBRYX6 ; DRIVER FOR COMPILED XREFS FOR FILE #689.2 ; 08/23/96
2 ;
3 N DH,DU,DIKILL,DISET,DIKJ,DIKZ,DIKYR,DIKZA,DIK0Z,DIKZK,DIKDP,DIKM1,DIKUP,DIKUM,DV,DIIX,DIKF,DIAU,DIKNM,DIKDA,DIKLK,DIKLM,DIKY
4 S DIKLK=DIK_DA_")" L @("+"_DIKLK) D DI L @("-"_DIKLK) G Q
5DI S DIKM1=0,DIKUM=0,DA(0)="",DV=0 F S DV=$O(DA(DV)) Q:DV'>0 S DIKUM=DIKUM+1,DIKUP(DV)=DA(DV)
6 S:DV="" DV=-1 S DH(1)=689.2,DIKUP=DA
7 I $D(DIKKS) D:DIKZ1=DH(1) ^LBRYX61 S DA=DIKUP D:DIKZ1=DH(1) ^LBRYX63 D:DIKZ1'=DH(1) KILL D:DIKZ1'=DH(1) DA D:DIKZ1'=DH(1) SET D DA Q
8 I $D(DIKIL) D:DIKZ1=DH(1) ^LBRYX61 S:DIKZ1=DH(1) DIKM1=1 D:DIKZ1'=DH(1) KILL S DA=DIKUP D:DIKM1>0 KIL1 D DA Q
9 I $D(DIKST) D:DIKZ1=DH(1) ^LBRYX63 D:DIKZ1'=DH(1) SET D DA Q
10 I $D(DIKSAT) D SET1 D DA Q
11 Q
12DA K DA F DV=1:1 Q:'$D(DIKUP(DV)) S DA(DV)=DIKUP(DV)
13 S DA=DIKUP Q
14SET1 S (DA,DCNT)=0
15 S DU=$E(DIK,1,$L(DIK)-1),DIKLK=$S(DIK[",":DU_")",1:DU) L @("+"_DIKLK)
16C I @("$O("_DIK_"DA))'>0") S DA=$$C1(DA),^(0)=$P(@(DIK_"0)"),U,1,2)_U_DA_U_DCNT K DCNT L @("-"_DIKLK) Q
17 S (DIKY,DA)=$O(^(DA)) G C:$P($G(^(DA,0)),U)']"" S DU=1,DCNT=DCNT+1 S:DA="" (DIKY,DA)=-1 D:DIKZ1=DH(1) ^LBRYX63 D:DIKZ1'=DH(1) SET D:DIKZ1'=DH(1) DA K DB(0) S DA=DIKY G C
18 Q
19C1(A) Q:$P($G(@(DIK_"A,0)")),U)]"" A
20 F S @("A=+$O("_DIK_"A),-1)") Q:$P($G(@(DIK_"A,0)")),U)]""!(A'>0)
21 Q A
22KILL S DIKILL=1,DIKZK=2
23 I DIKZ1=689.21,DIKUM'<1 S DIKM1=1 D A1^LBRYX62 Q
24 Q
25SET S DISET=1,DIKZK=1
26 I DIKZ1=689.21,DIKUM'<1 S DIKM1=1 D A1^LBRYX64 Q
27 Q
28KIL1 K @(DIK_"DA)") Q:'$D(^(0))
29 S Y=^(0),DH=$S($O(^(0))'>0:0,1:$P(Y,U,4)-1),X=$P($P(Y,U,3),U,DH>0) D 3:X=DA
30 S ^(0)=$P(Y,U,1,2)_U_X_U_DH
31 Q
32Q K DIKGP,DIKZ1 Q
33 ;
343 I X>1,$D(^(X-1)) S X=X-1 Q
35 S DV=1 F X=X:1 S X=X+DV,DV=DV+1 I $O(^(X))'>0 S DU=X-2,DV=1 Q
36L S X=$O(^(DU)) Q:X>0 S DU=DU-DV,DV=DV+1 S:DU<0 DU=0 G L
37 Q
38BUL S DIKOZ=1,DIKZA=$P("CREA^DELE",U,DIKZK)_"TE VALUE"
39 I $D(^DD(DIKZ1,DIKZZ,1,DIKZR,DIKZA)) W "...(`",^(DIKZA),"` BULLETIN WILL NOT BE TRIGGERED) " Q
40END Q
Note: See TracBrowser for help on using the repository browser.