source: WorldVistAEHR/trunk/r/VA_FILEMAN-ARJT-DI-DD-DM-DT-%DT-%RCR/DINIT012.m@ 711

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

initial load of WorldVistAEHR

File size: 2.2 KB
RevLine 
[613]1DINIT012 ; SFISC/TKW-DIALOG & LANGUAGE FILE INITS ; 3/30/99 10:41:48
2 ;;22.0;VA FileMan;;Mar 30, 1999
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
5Q Q
6 ;;^DD(.85,10.3,3)
7 ;;=This is Standard MUMPS code.
8 ;;^DD(.85,10.3,9)
9 ;;=@
10 ;;^DD(.85,10.3,21,0)
11 ;;=^^5^5^2941121^^
12 ;;^DD(.85,10.3,21,1,0)
13 ;;=MUMPS code used to transfer a number in Y to its cardinal equivalent in
14 ;;^DD(.85,10.3,21,2,0)
15 ;;=this language. The code should set Y to the cardinal equivalent without
16 ;;^DD(.85,10.3,21,3,0)
17 ;;=altering any other variables in the environment. Ex. in English:
18 ;;^DD(.85,10.3,21,4,0)
19 ;;= Y=2000 becomes Y=2,000
20 ;;^DD(.85,10.3,21,5,0)
21 ;;= Y=1234567 becomes Y=1,234,567
22 ;;^DD(.85,10.3,"DT")
23 ;;=2940308
24 ;;^DD(.85,10.4,0)
25 ;;=UPPERCASE CONVERSION^K^^UC;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
26 ;;^DD(.85,10.4,3)
27 ;;=This is Standard MUMPS code.
28 ;;^DD(.85,10.4,9)
29 ;;=@
30 ;;^DD(.85,10.4,21,0)
31 ;;=^^4^4^2941121^
32 ;;^DD(.85,10.4,21,1,0)
33 ;;=MUMPS code used to convert text in Y to its upper-case equivalent in
34 ;;^DD(.85,10.4,21,2,0)
35 ;;=this language. The code should set Y to the external format without
36 ;;^DD(.85,10.4,21,3,0)
37 ;;=altering any other variables in the environment. In English, changes
38 ;;^DD(.85,10.4,21,4,0)
39 ;;= abCdeF to: ABCDEF
40 ;;^DD(.85,10.4,"DT")
41 ;;=2940308
42 ;;^DD(.85,10.5,0)
43 ;;=LOWERCASE CONVERSION^K^^LC;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
44 ;;^DD(.85,10.5,3)
45 ;;=This is Standard MUMPS code.
46 ;;^DD(.85,10.5,9)
47 ;;=@
48 ;;^DD(.85,10.5,21,0)
49 ;;=^^4^4^2941121^
50 ;;^DD(.85,10.5,21,1,0)
51 ;;=MUMPS code used to convert text in Y to its lower-case equivalent in
52 ;;^DD(.85,10.5,21,2,0)
53 ;;=this language. The code should set Y to the external format without
54 ;;^DD(.85,10.5,21,3,0)
55 ;;=altering any other variables in the environment. In English, changes:
56 ;;^DD(.85,10.5,21,4,0)
57 ;;= ABcdEFgHij to: abcdefghij
58 ;;^DD(.85,10.5,"DT")
59 ;;=2940308
60 ;;^DD(.85,20.2,0)
61 ;;=DATE INPUT^K^^20.2;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
62 ;;^DD(.85,20.2,3)
63 ;;=This is Standard MUMPS code.
64 ;;^DD(.85,20.2,9)
65 ;;=@
66 ;;^DD(.85,20.2,"DT")
67 ;;=2940714
Note: See TracBrowser for help on using the repository browser.