Annotation of freem_fileman/DINIT002.m, revision 1.1.1.1
1.1 snw 1: DINIT002 ; SFISC/TKW-DIALOG & LANGUAGE FILE INITS ; 12/22/94 09:32:23
2: ;;21.0;VA FileMan;;Dec 28, 1994
3: ;Per VHA Directive 10-93-142, this routine should not be modified.
4: F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) S @X=Y
5: Q Q
6: ;;^DD(.84,4,21,1,0)
7: ;;=Actual text of the message. If parameters (variable pieces of text) are
8: ;;^DD(.84,4,21,2,0)
9: ;;=to be inserted into the dialogue when the message is built, the parameter
10: ;;^DD(.84,4,21,3,0)
11: ;;=will appear as a 'window' in this TEXT field, surrounded by vertical bars.
12: ;;^DD(.84,4,21,4,0)
13: ;;=The data within the 'window' will represent a subscript of the input
14: ;;^DD(.84,4,21,5,0)
15: ;;=parameter list that is passed to BLD^DIALOG or $$EZBLD^DIALOG when
16: ;;^DD(.84,4,21,6,0)
17: ;;=building the message. This same subscript should be used as the .01 of the
18: ;;^DD(.84,4,21,7,0)
19: ;;=PARAMETER field in this file to document the parameter.
20: ;;^DD(.84,5,0)
21: ;;=PARAMETER^.845^^3;0
22: ;;^DD(.84,6,0)
23: ;;=POST MESSAGE ACTION^K^^6;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
24: ;;^DD(.84,6,3)
25: ;;=This is Standard MUMPS code. This code will be executed whenever this message is retrieved through a call to BLD^DIALOG or $$EZBLD^DIALOG.
26: ;;^DD(.84,6,9)
27: ;;=@
28: ;;^DD(.84,6,21,0)
29: ;;=^^6^6^2941122^
30: ;;^DD(.84,6,21,1,0)
31: ;;=If some special action should be taken whenever this message is built,
32: ;;^DD(.84,6,21,2,0)
33: ;;=MUMPS code can be entered here. This code will be executed by the
34: ;;^DD(.84,6,21,3,0)
35: ;;=BLD^DIALOG or $$EZBLD^DIALOG routines, immediately after the message text
36: ;;^DD(.84,6,21,4,0)
37: ;;=has been built in the output array. For example, the code could set a
38: ;;^DD(.84,6,21,5,0)
39: ;;=special flag into a global or local variable to notify the calling routine
40: ;;^DD(.84,6,21,6,0)
41: ;;=that some extra action needed to be taken.
42: ;;^DD(.84,6,23,0)
43: ;;=^^7^7^2941122^
44: ;;^DD(.84,6,23,1,0)
45: ;;=At the time of executing this code
46: ;;^DD(.84,6,23,2,0)
47: ;;= D0 = IEN for the entry in the DIALOG file
48: ;;^DD(.84,6,23,3,0)
49: ;;= DIPI(n) = (for sequential number n) parameters incorporated in the text.
50: ;;^DD(.84,6,23,4,0)
51: ;;= DIPE(n) = parameters output back to the user
52: ;;^DD(.84,6,23,5,0)
53: ;;=
54: ;;^DD(.84,6,23,6,0)
55: ;;=All other variables used in this code should use your packages namespace,
56: ;;^DD(.84,6,23,7,0)
57: ;;=and should be NEWed.
58: ;;^DD(.84,6,"DT")
59: ;;=2940520
60: ;;^DD(.84,7,0)
61: ;;=TRANSLATION^.847P^^4;0
62: ;;^DD(.84,8,0)
63: ;;=CALLED FROM ENTRY POINTS^.841^^5;0
64: ;;^DD(.841,0)
65: ;;=CALLED FROM ENTRY POINTS SUB-FIELD^^.05^2
66: ;;^DD(.841,0,"DT")
67: ;;=2940411
68: ;;^DD(.841,0,"IX","B",.841,.01)
69: ;;=
70: ;;^DD(.841,0,"NM","CALLED FROM ENTRY POINTS")
71: ;;=
72: ;;^DD(.841,0,"UP")
73: ;;=.84
74: ;;^DD(.841,.01,0)
75: ;;=ROUTINE NAME^MF^^0;1^K:$L(X)>8!($L(X)<1) X
76: ;;^DD(.841,.01,1,0)
77: ;;=^.1
78: ;;^DD(.841,.01,1,1,0)
79: ;;=.841^B
80: ;;^DD(.841,.01,1,1,1)
81: ;;=S ^DI(.84,DA(1),5,"B",$E(X,1,30),DA)=""
82: ;;^DD(.841,.01,1,1,2)
83: ;;=K ^DI(.84,DA(1),5,"B",$E(X,1,30),DA)
84: ;;^DD(.841,.01,3)
85: ;;=Answer must be 1-8 characters in length.
86: ;;^DD(.841,.01,21,0)
87: ;;=^^6^6^2940411^
88: ;;^DD(.841,.01,21,1,0)
89: ;;=This multiple is used for documentation only. Entries are made to this
90: ;;^DD(.841,.01,21,2,0)
91: ;;=subfile ONLY for ERROR type text. Enter the routine name of an entry
92: ;;^DD(.841,.01,21,3,0)
93: ;;=point that may generate this error message. You only need to enter the
94: ;;^DD(.841,.01,21,4,0)
95: ;;=names of routines that directly generate the error through a call to
96: ;;^DD(.841,.01,21,5,0)
97: ;;=^DIALOG, and not when the error is generated by some other utility called
98: ;;^DD(.841,.01,21,6,0)
99: ;;=from your routine.
100: ;;^DD(.841,.01,"DT")
101: ;;=2940411
102: ;;^DD(.841,.05,0)
103: ;;=LINE TAG^F^^0;2^K:$L(X)>10!($L(X)<1) X
104: ;;^DD(.841,.05,3)
105: ;;=Answer must be 1-10 characters in length.
106: ;;^DD(.841,.05,21,0)
107: ;;=^^6^6^2940411^
108: ;;^DD(.841,.05,21,1,0)
109: ;;=This multiple is used for documentation only. Entries are made to this
110: ;;^DD(.841,.05,21,2,0)
111: ;;=subfile ONLY for ERROR type text. Enter the line tag of an entry point
112: ;;^DD(.841,.05,21,3,0)
113: ;;=that may generate this error message. You only need to enter the names of
114: ;;^DD(.841,.05,21,4,0)
115: ;;=routines that directly generate the error through a call to ^DIALOG, and
116: ;;^DD(.841,.05,21,5,0)
117: ;;=not when the error is generated by some other utility called from your
118: ;;^DD(.841,.05,21,6,0)
119: ;;=routine.
120: ;;^DD(.841,.05,"DT")
121: ;;=2940411
122: ;;^DD(.842,0)
123: ;;=DESCRIPTION SUB-FIELD^^.01^1
124: ;;^DD(.842,0,"DT")
125: ;;=2930614
126: ;;^DD(.842,0,"NM","DESCRIPTION")
127: ;;=
128: ;;^DD(.842,0,"UP")
129: ;;=.84
130: ;;^DD(.842,.01,0)
131: ;;=DESCRIPTION^W^^0;1^Q
132: ;;^DD(.842,.01,3)
133: ;;=Describe the use of this dialogue.
134: ;;^DD(.842,.01,"DT")
135: ;;=2930614
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>