home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: CONDFND2.PRG ⌐ª
- *⌐ª Function: ╠⌡╝■╝∞╦≈╖╢└²╢■ ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET SCOREBOARD OFF
- SET TALK OFF
- SET STATUS OFF
- SET SAFETY OFF
- SET DATE ANSI
- SET EXCLUSIVE OFF
- PUBLIC CHOICE_D, MYWORD
- SET COLOR TO W/N
- CLEAR
- SET COLOR TO W/B,W/R
-
- DDCON=SPACE(21)
- V1=SPACE(1)
- REC_NU=SPACE(3) &&╖√║╧╝∞╦≈╠⌡╝■╡─╝╟┬╝╕÷╩²
- GIVE_UP=.F.
- C_C="" &&╠⌡╝■
- N=0
- X1=3
- X2=X1+2
- Y1=6
- Y2=52
- @ 1,Y1 TO X2,Y2 CLEAR
- @ 1,Y1 TO X2,Y2 DOUB
- @ 3,7 SAY REPL(CHR(196),46) &&'-'
- @ 3,6 SAY CHR(199)
- @ 3,52 SAY CHR(182)
- @ 2,8 SAY ' ╟δ ╤í ╘± ╧α ╣╪ ╡─ ▓Θ ╤» ╧ε ─┐ '
- DIMENSION CH(21,1)
- STORE 'N' TO ENDLOOP
- DO WHILE ENDLOOP<>'Y'
- NOTENU=0
- NOTE1=' '
- NOTE2=' '
- SET COLOR TO W/B,W/R
- @ 0,55 TO 23,77 DOUB
- @ 1,56 TO 22,76 CLEAR
- @ 1,57 PROMPT ' 1. ╨≥║┼ '
- @ 2,57 PROMPT ' 2. ╡Ñ╬╗ '
- @ 3,57 PROMPT ' 3. ▓┐├┼ '
- @ 4,57 PROMPT ' 4. ┤ª╩╥ '
- @ 5,57 PROMPT ' 5. ╨╒├√ '
- @ 6,57 PROMPT ' 6. ╨╘▒≡ '
- @ 7,57 PROMPT ' 7. ├±╫σ '
- @ 8,57 PROMPT ' 8. ╝«╣ß '
- @ 9,57 PROMPT ' 9. │÷╔·╚╒╞┌ '
- @10,57 PROMPT ' A. ╒■╓╬├µ├▓ '
- @11,57 PROMPT ' B. ╣ñ╫≈╩▒╝Σ '
- @12,57 PROMPT ' C. ╣ñ╫╩╝╢▒≡ '
- @13,57 PROMPT ' D. ╨╨╒■╓░╬± '
- @14,57 PROMPT ' E. ╫¿╥╡╓░╬± '
- @15,57 PROMPT ' F. ╞└╢¿╩▒╝Σ '
- @16,57 PROMPT ' G. ╞└╢¿╡Ñ╬╗ '
- @17,57 PROMPT ' H. ╬─╗»│╠╢╚ '
- @18,57 PROMPT ' I. ▒╧╥╡╩▒╝Σ '
- @19,57 PROMPT ' J. ▒╧╥╡╘║╨ú '
- @20,57 PROMPT ' K. ╦∙╤º╫¿╥╡ '
- @21,57 PROMPT ' L. ┤╙╩┬╣ñ╫≈ '
- @22,57 PROMPT ' M. ╦∙╤º═Γ╙∩ '
- STORE 0 TO SEL
- MENU TO SEL
- IF LASTKEY()=27
- EXIT
- ENDIF
- STXT=""
- SWIND=""
- LOGI="="
- DO CASE
- CASE SEL=1
- SNAME="........╨≥║┼:"
- DBNAM="A1"
- CASE SEL=2
- SNAME="........╡Ñ╬╗:"
- DBNAME="DICFIL02"
- DBNAM="A2"
- CASE SEL=3
- SNAME="........▓┐├┼:"
- DBNAME="DICFIL03"
- DBNAM="A3"
- CASE SEL=4
- SNAME="........┤ª╩╥:"
- DBNAME="DICFIL04"
- DBNAM="A4"
- CASE SEL=5
- SNAME="........╨╒├√ "
- DBNAM="A5"
- CASE SEL=6
- SNAME="........╨╘▒≡:"
- NOTE1=" ╠ß╩╛: F ┤·▒φ'┼«'; M ┤·▒φ'─╨' "
- NOTENU=1
- DBNAM="A6"
- CASE SEL=7
- SNAME="........├±╫σ:"
- DBNAME="DICFIL07"
- DBNAM="A7"
- CASE SEL=8
- SNAME="........╝«╣ß:"
- DBNAME="DICFIL08"
- DBNAM="A8"
- CASE SEL=9
- SNAME="....│÷╔·╚╒╞┌:"
- LOGI="D"
- NOTENU=2
- NOTE1="╠ß╩╛: > (=╗≥<) 56.08.21 ▒φ╩╛╘┌┤╦╚╒╥╘║≤"
- NOTE2="(┤╦╚╒╗≥╥╘╟░);59.01.12-66.01.04╬¬╢■╚╒╓╨"
- DBNAM="A9"
- CASE SEL=10
- SNAME="....╒■╓╬├µ├▓:"
- DBNAME="DICFIL10"
- DBNAM="A10"
- CASE SEL=11
- SNAME="....╣ñ╫≈╩▒╝Σ:"
- NOTENU=2
- NOTE1="╠ß╩╛: > (=╗≥<) 56.08.21 ▒φ╩╛╘┌┤╦╚╒╥╘║≤"
- NOTE2="(┤╦╚╒╗≥╥╘╟░);59.01.12-66.01.04╬¬╢■╚╒╓╨"
- DBNAM="A11"
- CASE SEL=12
- SNAME="....╣ñ╫╩╝╢▒≡:"
- DBNAM="A12"
- CASE SEL=13
- SNAME="....╨╨╒■╓░╬±:"
- DBNAME="DICFIL13"
- DBNAM="A13"
- CASE SEL=14
- SNAME="....╫¿╥╡╓░╬±:"
- DBNAME="DICFIL14"
- DBNAM="A14"
- CASE SEL=15
- SNAME="....╞└╢¿╩▒╝Σ:"
- LOGI="D"
- NOTENU=2
- NOTE1="╠ß╩╛: > (=╗≥<) 56.08.21 ▒φ╩╛╘┌┤╦╚╒╥╘║≤"
- NOTE2="(┤╦╚╒╗≥╥╘╟░);59.01.12-66.01.04╬¬╢■╚╒╓╨"
- DBNAM="A15"
- CASE SEL=16
- SNAME="....╞└╢¿╡Ñ╬╗:"
- DBNAME="DICFIL16"
- DBNAM="A16"
- CASE SEL=17
- SNAME="....╬─╗»│╠╢╚:"
- DBNAME="DICFIL17"
- DBNAM="A17"
- CASE SEL=18
- SNAME="....▒╧╥╡╩▒╝Σ:"
- LOGI="D"
- NOTENU=2
- NOTE1="╠ß╩╛: > (=╗≥<) 56.08.21 ▒φ╩╛╘┌┤╦╚╒╥╘║≤"
- NOTE2="(┤╦╚╒╗≥╥╘╟░);59.01.12-66.01.04╬¬╢■╚╒╓╨"
- DBNAM="A18"
- CASE SEL=19
- SNAME="....▒╧╥╡╘║╨ú:"
- DBNAME="DICFIL19"
- DBNAM="A19"
- CASE SEL=20
- SNAME="....╦∙╤º╫¿╥╡:"
- DBNAME="DICFIL20"
- DBNAM="A20"
- CASE SEL=21
- SNAME="....┤╙╩┬╣ñ╫≈:"
- DBNAME="DICFIL21"
- DBNAM="A21"
- CASE SEL=22
- SNAME="....╦∙╤º═Γ╙∩:"
- DBNAME="DICFIL22"
- DBNAM="A22"
- ENDCASE
- ** ╠⌡╝■╣²╢α╡─┤ª└φ
- IF N>12
- ENDLOOP='Y'
- WAIT " ╦∙╤í╠⌡╝■╣²╢α! " WINDOW TIMEOUT 6
- ENDIF
- IF SEL<>1
- A=1
- DUP=.F.
- DO WHILE A<N+1
- O=SUBSTR(STR(100+A,3),2,2)
- IF CSE&O=SEL
- DUP=.T.
- B=A &&▒Ω╩╢╣Γ▒Ω╬╗╓├
- BB=SUBSTR(STR(100+B,3),2,2)
- A=N+1
- ENDIF
- A=A+1
- ENDDO
- ** ┼╨╢╧╓╪╕┤╤í╘±╠⌡╝■
- IF .NOT. DUP
- N=N+1
- O=SUBSTR(STR(100+N,3),2,2)
- X2=X2+1
- C&O=N
- CNA&O=SNAME
- CDB&O=DBNAM
- CLO&O=LOGI
- CCLO&O=LOGI
- CSE&O=SEL
- CTX&O=STXT
- CORI&O=SPACE(21) &&╘¡╩╝╩Σ╚δ
- CNONU&O=NOTENU
- CNOTE1&O=NOTE1
- CNOTE2&O=NOTE2
- SET COLOR TO W/N
- @ X1+N+1,0 CLEAR TO 24,53
- SET COLOR TO W/B,W/R
- @ X2-2,Y1 TO X2-1,Y2 CLEAR
- @ 1,Y1 TO X2-1,Y2 DOUB
- ** ╠⌡╝■╨≥║┼
- IF N>9
- M=O
- ELSE
- M=" "+SUBSTR(O,2,1)
- ENDIF
- @ X1+N,Y1+2 SAY "╠⌡╝■"+M+" "+SNAME
- SET COLOR TO W/N
- ** ╫╓╡Σ┐Γ┤░αφ╡─┤ª└φ
- IF CTX&O <> ' '
- @ 24,60 SAY "PRESS CTRL+] "
- ENDIF
- ** ╞┴─╗╧┬▓┐╡─╠ß╩╛
- IF CNONU&O<>0
- @ 21,4 to 22+cnonu&o,52 doub
- @ 22,6 SAY CNOTE1&O
- IF CNONU&O=2
- @ 23,6 SAY CNOTE2&O
- ENDIF
- ENDIF
-
- SET COLO TO W/B,W/R
- @ X1+N,Y1+23 GET CORI&O PICT "XXXXXXXXXXXXXXXXXXXXX"
- READ
- CVA&O=CORI&O
- D1&O='00.00.00' && ╚╒╞┌╨═╩²╛▌╡─┤ª└φ
- D2&O='00.00.00'
- IF CCLO&O="D"
- CHE=O
- DO DATE_CHE WITH N
- IF GIVE_UP
- RETURN
- ELSE
- SET COLO TO W/N
- @ 24,6 SAY REPL(CHR(196),46) &&'-'
- ENDIF
- ENDIF
- ** ╓╪╕┤╤í╘±╡─┤ª└φ
- ELSE
- SET COLOR TO W/N
- @ 21,0 CLEAR TO 24,53
- IF CTX&BB<>' '
- @ 24,60 SAY "PRESS CTRL+] "
- ENDIF
- IF CNONU&BB<>0
- @ 21,4 to 22+cnonu&bb,52 doub
- @ 22,6 SAY CNOTE1&BB
- IF CNONU&BB=2
- @ 23,6 SAY CNOTE2&BB
- ENDIF
- ENDIF
- SET COLOR TO W/B,W/R
- @ X1+B,Y1+23 GET CORI&BB PICT "XXXXXXXXXXXXXXXXXXXXX"
- READ
- CVA&BB=CORI&BB
- ** ╚╒╞┌╨═╩²╛▌╡─┤ª└φ
- IF CCLO&BB="D"
- CHE=BB
- DO DATE_CHE WITH B
- IF GIVE_UP
- RETURN
- ELSE
- SET COLO TO W/N
- @ 24,6 SAY REPL(CHR(196),46) &&'-'
- ENDIF
- ENDIF
- ENDIF &&.NOT. DUP
- ** └√╙├╫╓╡Σ┐Γ┤░αφ
- KEYV=READKEY()
- IF KEYV=33 .OR. KEYV=289
- SET COLOR TO W/N
- @ 0,55 CLEAR TO 23,77
- IF .NOT. DUP .AND. CTX&O<>' '
- DO GETWORD && ╡»│÷╫╓╡Σ┐Γ┤░αφ
- CORI&O=MYWORD
- @ X1+N,Y1+23 GET CORI&O
- READ
- CVA&O=CORI&O
- ELSE
- IF CTX&BB<>' '
- DO DRAW WITH CTX&BB
- SET COLO TO W/B,W/R
- CORI&BB=CHOICE_D
- @ X1+B,Y1+23 GET CORI&BB
- READ
- CVA&BB=CORI&BB
- ENDIF
- ENDIF
- ENDIF
- SET COLOR TO W/N
- @ 24,60 CLEAR TO 24,79
- ENDIF &&SEL<>1
- ENDDO &&ENDLOOP<>"N"
- ***╨▐╕─▓Θ╤»╠⌡╝■
- ASK="N"
- @ 24,10 SAY "╩╟ ╖± ╨Φ ╥¬ ╨▐ ╕─ ▓Θ ╤» ╠⌡ ╝■(Y/N)" GET ASK
- READ
- SET COLOR TO W/N
- IF UPPER(ASK)="Y"
- CLEAR
- SET COLOR TO W/B,W/RB
- @ 1,Y1 TO X2-1,Y2 DOUB
- @ 2,7 SAY " ╟δ ╨▐ ╕─ ╧α ╣╪ ╡─ ▓Θ ╤» ╧ε ─┐ "
- @ 3,7 SAY REPL(CHR(196),45) &&'-'
- A=1
- DO WHILE A<N+1
- SET COLOR TO W/B,W/RB
- AO=SUBSTR(STR(100+A,3),2,2)
- ** ╠⌡╝■╨≥║┼
- IF A>9
- M=AO
- ELSE
- M=" "+SUBSTR(AO,2,1)
- ENDIF
- SET COLO TO W/N
- @ 21,0 CLEAR TO 24,53
- IF CNONU&AO<>0
- @ 21,4 to cnonu&ao,52 doub
- @ 22,6 SAY CNOTE1&AO
- IF CNONU&AO=2
- @ 23,6 SAY CNOTE2&AO
- ENDIF
- ENDIF
- SET COLO TO W/B,W/RB
- @ X1+A,Y1+1 SAY " ╠⌡╝■"+M+" "+CNA&AO
- @ X1+A,Y1+23 GET CORI&AO
- READ
- ** ╚╒╞┌╨═╩²╛▌╡─┤ª└φ
- IF CCLO&AO="D"
- CHE=AO
- DO DATE_CHEC WITH A
- IF GIVE_UP
- RETURN
- ELSE
- SET COLO TO W/N
- @ 24,6 SAY REPL(CHR(196),46) &&'-'
- ENDIF
- ENDIF
- A=A+1
- ENDDO
- A=1
- DO WHILE A<N+1
- AO=SUBSTR(STR(100+A,3),2,2)
- CVA&AO=CORI&AO
- A=A+1
- ENDDO
- SET COLO TO W/N
- CLEAR
- ENDIF
- C_C1=""
- A=1
- DO WHILE A<N+1&& .AND. A<10===================
- AO=SUBSTR(STR(100+A,3),2,2)
- IF CLO&AO="N" &&╣ñ╫╩╡─┤ª└φ
- CVAA=TRIM(CVA&AO)
- C_TEMP=IIF(LEN(CVAA)<>0,"&CDB&AO &CVAA .AND.","")
- ELSE
- IF CCLO&AO<>"D" &&╖╟╚╒╞┌╨═╩²╛▌╡─┤ª└φ
- CVAA=TRIM(CVA&AO)
- C_TEMP=IIF(LEN(CVAA)<>0,"&CDB&AO &CLO&AO '&CVAA'.AND.","")
- ELSE
- NOK="DTOC(&CDB&AO)"
- OOK=TRIM(CORI&AO)
- C_TEMP=IIF(LEN(OOK)<>0,"&NOK >= '&D1&AO' .AND. &NOK &CLO&AO '&D2&AO' .AND.","")
- ENDIF
- ENDIF
- C_C1="&C_C1"+"&C_TEMP"
- A=A+1
- ENDDO
- ***╚Ñ╡⌠"╠⌡╝■-C_C"║≤├µ╡─ .AND.
- LENC=LEN(C_C1)
- IF RIGHT(C_C1,5)=".AND."
- C_C=SUBSTR(C_C1,1,LENC-5)
- ENDIF
- IF LEN(C_C)<>0
- WAIT C_C WINDOW
- CLEAR
- ENDIF
- SET COLO TO W/N
- CLEAR
- SET COLOR TO W/B
- RETURN