ENARX23 ;(WASH ISC)/SAW/DH-2162 Archive ;6-28-91
;;7.0;ENGINEERING;;Aug 17, 1993
;
K ^UTILITY("DIFROM",$J),DIC
I $D(^DIC(9.2,0))#2,^(0)?1"HELP".E S (DIC,DLAYGO)=9.2,N="HELP",DIC(0)="LX" G ADD
Q
;
ADD F R=0:0 S R=$O(^UTILITY(U,$J,N,R)) Q:R="" S X=$P(^(R,0),U,1) W "." D ^DIC I Y>0,'$D(DIFQ(N))!$P(Y,U,3) S ^UTILITY("DIFROM",$J,N,X)=+Y K ^DIC(9.2,+Y,1),^(2),^(3) S %X="^UTILITY(U,$J,N,R,",%Y=DIC_"+Y,",DA=+Y D %XY^%RCR
S DIK=DIC
HELP S R=$O(^UTILITY("DIFROM",$J,N,R)) Q:R="" W !,"'"_R_"' Help Frame filed." S DA=^(R) G IX:$O(^DIC(9.2,DA,2,0))'>0
F X=0:0 S X=$O(^DIC(9.2,DA,2,X)) Q:X'>0 S I=$S($D(^(X,0)):^(0),1:0),Y=$P(I,U,2) S:Y]"" Y=$O(^DIC(9.2,"B",Y,0)) S ^(0)=$P(^DIC(9.2,DA,2,X,0),U,1)_U_$S(Y>0:Y,1:"")_U_$P(^(0),U,3,99)
IX D IX1^DIK G HELP
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HENARY23 767 printed Dec 13, 2024@01:51:51 Page 2
ENARX23 ;(WASH ISC)/SAW/DH-2162 Archive ;6-28-91
+1 ;;7.0;ENGINEERING;;Aug 17, 1993
+2 ;
+3 KILL ^UTILITY("DIFROM",$JOB),DIC
+4 IF $DATA(^DIC(9.2,0))#2
IF ^(0)?1"HELP".E
SET (DIC,DLAYGO)=9.2
SET N="HELP"
SET DIC(0)="LX"
GOTO ADD
+5 QUIT
+6 ;
ADD FOR R=0:0
SET R=$ORDER(^UTILITY(U,$JOB,N,R))
if R=""
QUIT
SET X=$PIECE(^(R,0),U,1)
WRITE "."
DO ^DIC
IF Y>0
IF '$DATA(DIFQ(N))!$PIECE(Y,U,3)
SET ^UTILITY("DIFROM",$JOB,N,X)=+Y
KILL ^DIC(9.2,+Y,1),^(2),^(3)
SET %X="^UTILITY(U,$J,N,R,"
SET %Y=DIC_"+Y,"
SET DA=+Y
DO %XY^%RCR
+1 SET DIK=DIC
HELP SET R=$ORDER(^UTILITY("DIFROM",$JOB,N,R))
if R=""
QUIT
WRITE !,"'"_R_"' Help Frame filed."
SET DA=^(R)
if $ORDER(^DIC(9.2,DA,2,0))'>0
GOTO IX
+1 FOR X=0:0
SET X=$ORDER(^DIC(9.2,DA,2,X))
if X'>0
QUIT
SET I=$SELECT($DATA(^(X,0)):^(0),1:0)
SET Y=$PIECE(I,U,2)
if Y]""
SET Y=$ORDER(^DIC(9.2,"B",Y,0))
SET ^(0)=$PIECE(^DIC(9.2,DA,2,X,0),U,1)_U_$SELECT(Y>0:Y,1:"")_U_$PIECE(^(0),U,3,99)
IX DO IX1^DIK
GOTO HELP