Annotation of freem_fileman/DINIT003.m, revision 1.1

1.1     ! snw         1: DINIT003       ; 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(.844,0)
        !             7:        ;;=TEXT SUB-FIELD^^.01^1
        !             8:        ;;^DD(.844,0,"DT")
        !             9:        ;;=2930811
        !            10:        ;;^DD(.844,0,"NM","TEXT")
        !            11:        ;;=
        !            12:        ;;^DD(.844,0,"UP")
        !            13:        ;;=.84
        !            14:        ;;^DD(.844,.01,0)
        !            15:        ;;=TEXT^WL^^0;1^Q
        !            16:        ;;^DD(.844,.01,3)
        !            17:        ;;=Enter the actual text of the dialogue, with optional parameter windows.
        !            18:        ;;^DD(.844,.01,"DT")
        !            19:        ;;=2930811
        !            20:        ;;^DD(.845,0)
        !            21:        ;;=PARAMETER SUB-FIELD^^1^2
        !            22:        ;;^DD(.845,0,"DT")
        !            23:        ;;=2931105
        !            24:        ;;^DD(.845,0,"IX","B",.845,.01)
        !            25:        ;;=
        !            26:        ;;^DD(.845,0,"NM","PARAMETER")
        !            27:        ;;=
        !            28:        ;;^DD(.845,0,"UP")
        !            29:        ;;=.84
        !            30:        ;;^DD(.845,.01,0)
        !            31:        ;;=PARAMETER SUBSCRIPT^MF^^0;1^K:$L(X)>20!($L(X)<1) X
        !            32:        ;;^DD(.845,.01,1,0)
        !            33:        ;;=^.1
        !            34:        ;;^DD(.845,.01,1,1,0)
        !            35:        ;;=.845^B
        !            36:        ;;^DD(.845,.01,1,1,1)
        !            37:        ;;=S ^DI(.84,DA(1),3,"B",$E(X,1,30),DA)=""
        !            38:        ;;^DD(.845,.01,1,1,2)
        !            39:        ;;=K ^DI(.84,DA(1),3,"B",$E(X,1,30),DA)
        !            40:        ;;^DD(.845,.01,3)
        !            41:        ;;=This entry corresponds to the subscript of an entry in either the text or output parameter list to the BLD^DIALOG and $$EZBLD^DIALOG routine.  Answer must be 1-20 characters in length.
        !            42:        ;;^DD(.845,.01,21,0)
        !            43:        ;;=^^7^7^2941122^
        !            44:        ;;^DD(.845,.01,21,1,0)
        !            45:        ;;=This multiple is used for documentation purposes only.  The entry in the
        !            46:        ;;^DD(.845,.01,21,2,0)
        !            47:        ;;=.01 field of this multiple will correspond to a subscript in either the
        !            48:        ;;^DD(.845,.01,21,3,0)
        !            49:        ;;=text or output parameter list, that are passed to the routines that build
        !            50:        ;;^DD(.845,.01,21,4,0)
        !            51:        ;;=dialogue messages, BLD^DIALOG and $$EZBLD^DIALOG. This routine will insert
        !            52:        ;;^DD(.845,.01,21,5,0)
        !            53:        ;;=into each 'window' from the TEXT field, the corresponding entry out of the
        !            54:        ;;^DD(.845,.01,21,6,0)
        !            55:        ;;=text parameter list.  For errors only, it passes any entries from the
        !            56:        ;;^DD(.845,.01,21,7,0)
        !            57:        ;;=output parameter list back to the user as entries in its output array.
        !            58:        ;;^DD(.845,.01,"DT")
        !            59:        ;;=2931105
        !            60:        ;;^DD(.845,1,0)
        !            61:        ;;=PARAMETER DESCRIPTION^F^^0;2^K:$L(X)>230!($L(X)<1) X
        !            62:        ;;^DD(.845,1,3)
        !            63:        ;;=Describe the Parameter for documentation purposes.  Answer must be 1-230 characters in length.
        !            64:        ;;^DD(.845,1,21,0)
        !            65:        ;;=^^5^5^2941122^
        !            66:        ;;^DD(.845,1,21,1,0)
        !            67:        ;;=This field is used for documentation purposes only.  It describes the text
        !            68:        ;;^DD(.845,1,21,2,0)
        !            69:        ;;=and/or output parameter(s) that are passed to BLD^DIALOG and
        !            70:        ;;^DD(.845,1,21,3,0)
        !            71:        ;;=$$EZBLD^DIALOG. The same parameter can be used both as a text parameter
        !            72:        ;;^DD(.845,1,21,4,0)
        !            73:        ;;=(i.e., inserted into the text when it is built), and as an output
        !            74:        ;;^DD(.845,1,21,5,0)
        !            75:        ;;=parameter (i.e., a parameter passed back in a list to the user)
        !            76:        ;;^DD(.845,1,"DT")
        !            77:        ;;=2930614
        !            78:        ;;^DD(.847,0)
        !            79:        ;;=TRANSLATION SUB-FIELD^^1^2
        !            80:        ;;^DD(.847,0,"DT")
        !            81:        ;;=2940524
        !            82:        ;;^DD(.847,0,"IX","B",.847,.01)
        !            83:        ;;=
        !            84:        ;;^DD(.847,0,"NM","TRANSLATION")
        !            85:        ;;=
        !            86:        ;;^DD(.847,0,"UP")
        !            87:        ;;=.84
        !            88:        ;;^DD(.847,.01,0)
        !            89:        ;;=LANGUAGE^M*P.85'X^DI(.85,^0;1^S DIC("S")="I Y>1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X S:$G(X) DINUM=X
        !            90:        ;;^DD(.847,.01,1,0)
        !            91:        ;;=^.1
        !            92:        ;;^DD(.847,.01,1,1,0)
        !            93:        ;;=.847^B
        !            94:        ;;^DD(.847,.01,1,1,1)
        !            95:        ;;=S ^DI(.84,DA(1),4,"B",$E(X,1,30),DA)=""
        !            96:        ;;^DD(.847,.01,1,1,2)
        !            97:        ;;=K ^DI(.84,DA(1),4,"B",$E(X,1,30),DA)
        !            98:        ;;^DD(.847,.01,3)
        !            99:        ;;=Enter the number or name for a non-English language.
        !           100:        ;;^DD(.847,.01,12)
        !           101:        ;;=English language cannot be selected.
        !           102:        ;;^DD(.847,.01,12.1)
        !           103:        ;;=S DIC("S")="I Y>1"
        !           104:        ;;^DD(.847,.01,21,0)
        !           105:        ;;=^^3^3^2941118^^
        !           106:        ;;^DD(.847,.01,21,1,0)
        !           107:        ;;=Pointer to the LANGUAGE file. If FileMan system variable DUZ("LANG") is
        !           108:        ;;^DD(.847,.01,21,2,0)
        !           109:        ;;=set to an integer greater than 1, we use that number to extract dialogue
        !           110:        ;;^DD(.847,.01,21,3,0)
        !           111:        ;;=text for the specified language from this multiple.
        !           112:        ;;^DD(.847,.01,"DT")
        !           113:        ;;=2940524
        !           114:        ;;^DD(.847,1,0)
        !           115:        ;;=FOREIGN TEXT^.8471^^1;0
        !           116:        ;;^DD(.847,1,21,0)
        !           117:        ;;=^^3^3^2941118^
        !           118:        ;;^DD(.847,1,21,1,0)
        !           119:        ;;=Insert here the non-English equivalent for this language to the text in
        !           120:        ;;^DD(.847,1,21,2,0)
        !           121:        ;;=the TEXT field for this entry.  This field may contain windows for
        !           122:        ;;^DD(.847,1,21,3,0)
        !           123:        ;;=variable parameters the same as the TEXT field.
        !           124:        ;;^DD(.8471,0)
        !           125:        ;;=FOREIGN TEXT SUB-FIELD^^.01^1
        !           126:        ;;^DD(.8471,0,"DT")
        !           127:        ;;=2930811
        !           128:        ;;^DD(.8471,0,"NM","FOREIGN TEXT")
        !           129:        ;;=
        !           130:        ;;^DD(.8471,0,"UP")
        !           131:        ;;=.847
        !           132:        ;;^DD(.8471,.01,0)
        !           133:        ;;=FOREIGN TEXT^WL^^0;1^Q
        !           134:        ;;^DD(.8471,.01,3)
        !           135:        ;;=Enter the non-English dialog text
        !           136:        ;;^DD(.8471,.01,"DT")
        !           137:        ;;=2930811

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>