source: WorldVistAEHR/trunk/r/LIST_MANAGER-VALM/VALMXQ12.m@ 699

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

initial load of WorldVistAEHR

File size: 1.8 KB
Line 
1VALMXQ12 ; alb/mjk - XQORM4 for export with LM v1 ; 3/30/93
2 ;;1;List Manager;;Aug 13, 1993
3 ;
4 ;
5XQORM4 ; SLC/KCM - Menu Messages ;10/19/90 14:31 ;
6 ;;6.7;Sidewinder;;Jan 08, 1993
7HELP ;From: XQORM1
8 Q:XQORM(0)'["A"
9 I $D(XQORM("??")) X:$L(XQORM("??")) XQORM("??") Q
10 I X="?" D:XQORM(0)'["D" DISP^XQORM1 D HELP1^XQORM5 Q
11 D HELP1^XQORM5,HELP2^XQORM5 F I=0:0 W !!,$S(XQORM(0)["D":"Red",1:"D"),"isplay items" S %=1 D YN^DICN Q:% W !!?4,"Enter a ""Y"" or ""N""."
12 D:%=1 DISP^XQORM1 W !
13 Q
14 ;Error messages From: XQORM routines
15CC W !!,">>> Control characters and function keys may not be entered.",! Q
16LL W !!,">>> Entry is too long.",! Q
17NE W !!,">>> Only "_+XQORM(0)_$S(+XQORM(0)=1:" entry",1:" entries")_" allowed.",! Q
18IR W !!,">>> Range entered improperly: ",X,".",! Q
19LR W !!,">>> Range too large: ",X,".",! Q
20NS W !!,">>> ",$P(Y(ORUB),"^",3)," may not be selected at this point.",! Q
21NN W !!,">>> The ""-"" may not be used with " D SHO W ".",! Q
22NF W !!,ORUW," is not a valid selection.",! Q
23SC W !!,">>> Semi-colon may not be at the front of an item. To jump, use '^^'.",! Q
24NU I $L(XQORM("NO^")),XQORM("NO^")'="OUTOK" W !!,">>> ",@XQORM("NO^"),! Q
25 W !!,">>> Up-arrow not allowed.",!
26 Q
27SHO I $D(^XUTL("XQORM",XQORM,ORUDA,0)) W $P(^(0),"^",3)
28 Q
29ALL ;From: XQORM2
30 N X K ^TMP("XQORM",$J)
31 S ORUDA=0 F I=0:0 S ORUDA=$O(^XUTL("XQORM",XQORM,ORUDA)) Q:ORUDA'>0 I $D(^(ORUDA,0)),+^(0) S ORUB=1000*$P(ORUDA,".",2)+$P(ORUDA,".",1),^TMP("XQORM",$J,ORUB)=ORUDA
32 S ORUB=0 F I=0:0 S ORUB=$O(^TMP("XQORM",$J,ORUB)) Q:ORUB'>0 S ORUDA=+^(ORUB) D UPD^XQORM3
33 K ^TMP("XQORM",$J) Q
34LAST ;From: XQORM2
35 S X="" F I=0:0 S I=$O(^DISV(DUZ,"XQORM",XQORM,I)) Q:I'>0 S X=X_^DISV(DUZ,"XQORM",XQORM,I)_"," I $L(X)>160 K ^DISV(DUZ,"XQORM",XQORM) S X="" Q
36 S X=$E(X,1,$L(X)-1) ;I $L(X) W:XQORM(0)["A" X
37 Q
Note: See TracBrowser for help on using the repository browser.