home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP5_3.PRG ⌐ª
- *⌐ª Function: ╙├╘¡╙╨║»╩²╓╞╫≈╧┬└¡▓╦╡Ñ╡─╖╢└². ⌐ª
- *⌐ª Proce: EXP5_4.PRG ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET STATUS OFF
- SET ECHO OFF
- SET TALK OFF
- SET SAFETY OFF
- SET SCOREBOARD OFF
- SET DOHISTORY OFF
- SET MESSAGE TO 24
-
- SET COLOR TO W/N
- CLEAR
- SET COLOR TO W/B,W/R
- * ╢¿╥σ╧╘╩╛╨┼╧ó╡─┤░┐┌:win1
- DEFINE WINDOW win1 FROM 22,1 TO 24,79 ;
- TITLE " ╨┼╧ó┤░┐┌ " SHADOW COLOR SCHEME 7
-
- * ╢¿╥σ▓╦╡Ñ░⌠╝░╠ß╩╛╨┼╧ó╩²╫Θ
- DIMENSION TOP(8,2)
- TOP(1,1)='╧╡═│╬¼╗ñ'
- TOP(2,1)='╚╦╘▒┐Γ┐Γ╬¼╗ñ'
- TOP(3,1)='▓Θ ╤»'
- TOP(4,1)='▒¿▒φ┤≥╙í'
- TOP(5,1)='═│╝╞┤ª└φ'
- TOP(6,1)='═╝╨╬╩Σ│÷'
- TOP(7,1)='╗π ╫▄'
- TOP(8,1)='═╦ │÷'
- TOP(1,2)=' ▒╕╖▌,╩²╛▌┤╩╡Σ╬¼╗ñ, ▒╕╖▌, ╧╘╩╛╦╡├≈╩Θíó╧╡═│╔Φ╓├ '
- TOP(2,2)=' ╚╦╘▒┐Γ╝╟┬╝╡─╘÷, ╔╛, ╕─,Σ»└└ '
- TOP(3,2)=' ╕≈╓╓╠⌡╝■╝∞╦≈ '
- TOP(4,2)=' ▒¿▒φ┤≥╙í '
- TOP(5,2)=' ╕≈╓╓╠⌡╝■═│╝╞ '
- TOP(6,2)=' ╔·│╔íó╧╘╩╛═│╝╞═╝╨╬ '
- TOP(7,2)=' ╗π ╫▄ '
- TOP(8,2)=' ═╦ │÷, ╖╡╗╪ DOS╧╡═│ '
-
- * ╢¿╥σ╕≈╧┬└¡╫╙▓╦╡Ñ╤í╧ε╩²╫Θ
- DIMENSION AR1(5)
- AR1(1)='1.▒╕╖▌ '
- AR1(2)='2.╩²╛▌┤╩╡Σ╬¼╗ñ'
- AR1(3)='3.╧╘╩╛╦╡├≈╩Θ '
- AR1(4)='4.╧╡═│╔Φ╓├ '
- AR1(5)='5.═╦│÷ '
- DIMENSION AR2(4)
- AR2(1)='1.╫╖╝╙╨┬╝╟┬╝'
- AR2(2)='2.╔╛│²╛╔╝╟┬╝'
- AR2(3)='3.╨▐╕─╛╔╝╟┬╝'
- AR2(4)='4.╚½╞┴─╗Σ»└└'
- DIMENSION AR3(4)
- AR3(1)='1.╣╠╢¿╝∞╦≈ '
- AR3(2)='2.╠⌡╝■╝∞╦≈ '
- AR3(3)='3.╫╘╙╔╝∞╦≈ '
- AR3(4)='4.╫╘╢¿╥σ╝∞╦≈'
- DIMENSION AR4(8)
- AR4(1)= '1.╫¿╥╡╝╝╩⌡╚╦╘▒╥╗└└▒φ '
- AR4(2)= '2.╫¿╥╡╝╝╩⌡╚╦╘▒╕÷╚╦▒φ '
- AR4(3)= '3.┤╙╩┬╣ñ╫≈═│╝╞▒φ '
- AR4(4)= '4.╬─╗»│╠╢╚═│╝╞▒φ '
- AR4(5)= '5.─Ω┴Σ═│╝╞▒φ '
- AR4(6)= '6.╡│╒■╓░╬±═│╝╞▒φ '
- AR4(7)= '7.╨╘▒≡═│╝╞▒φ '
- AR4(8)= '8.╩²╛▌┐Γ╫╘╢»▒¿▒φ╔·│╔ '
- DIMENSION AR5(7)
- AR5(1)=' 1.┤╙╩┬╣ñ╫≈═│╝╞ '
- AR5(2)=' 2.╬─╗»│╠╢╚═│╝╞ '
- AR5(3)=' 3.─Ω┴Σ═│╝╞ '
- AR5(4)=' 4.╡│╒■╓░╬±═│╝╞ '
- AR5(5)=' 5.╨╘▒≡═│╝╞ '
- AR5(6)=' 6.╫╘╢¿╥σ═│╝╞ '
- AR5(7)=' 7.═│╝╞┐ΓΣ»└└ '
- DIMENSION AR6(2)
- AR6(1) =' 1.╧╘╩╛═│╝╞═╝╨╬ '
- AR6(2) =' 2.╔·│╔╫╘╢¿╥σ═╝╨╬ '
- DIMENSION AR7(9)
- AR7(1) = ' 1.╥╗╣½╦╛┼╠┐╜▒┤ '
- AR7(2) = ' 2.╢■╣½╦╛┼╠┐╜▒┤ '
- AR7(3) = ' 3.╚²╣½╦╛┼╠┐╜▒┤ '
- AR7(4) = ' 4.╦─╣½╦╛┼╠┐╜▒┤ '
- AR7(5) = ' 5.╬σ╣½╦╛┼╠┐╜▒┤ '
- AR7(6) = ' 6.┴∙╣½╦╛┼╠┐╜▒┤ '
- AR7(7) = ' 7.╞▀╣½╦╛┼╠┐╜▒┤ '
- AR7(8) = ' 8.░╦╣½╦╛┼╠┐╜▒┤ '
- AR7(9) = ' 9.╗π╫▄ '
- DIMENSION AR8(1)
- AR8(1) =' ╖╡╗╪ DOS ╧╡═│ '
-
- ROW=1
- COL=1
- * ╫░┼Σ▓╦╡Ñ
- MENU BAR TOP,8
- MENU 1,AR1,5,5
- MENU 2,AR2,4,4
- MENU 3,AR3,4,4
- MENU 4,AR4,8,8
- MENU 5,AR5,7,7
- MENU 6,AR6,2,2
- MENU 7,AR7,9,9
- MENU 8,AR8,1,1
-
- DO WHILE .T.
- READ MENU BAR TO ROW,COL SAVE
- * ╞⌠╢»╧┬└¡╩╜▓╦╡Ñ, ╙├ DO CASE └┤┐╪╓╞│╠╨≥╓┤╨╨┴≈╧≥.
- DO CASE
- CASE ROW=1
- DO CASE
- CASE COL=1
- DO subroute WITH ROW,COL
- CASE COL=2
- DO EXP5_4
- CASE COL=3
- DO subroute WITH ROW,COL
- CASE COL=4
- DO subroute WITH ROW,COL
- CASE COL=5
- QUIT
- ENDCASE
- CASE ROW=2
- DO CASE
- CASE COL=1
- DO subroute WITH ROW,COL
- CASE COL=2
- DO subroute WITH ROW,COL
- CASE COL=3
- DO subroute WITH ROW,COL
- CASE COL=4
- DO subroute WITH ROW,COL
- ENDCASE
- * ╩í┬╘▓┐╖╓╙∩╛Σ.
- * ......
- * ......
-
- CASE ROW=8
- CLOSE DATABASE
- CLEAR
- QUIT
- ENDCASE
- ENDDO
- RETURN
-
- PROCEDURE SUBROUTE
- PARAMETERS MITEM1,MITEM2
- SET CURSOR OFF
- ACTIVATE WINDOW win1
- @ 0,10 SAY "─π╤í╘±╡─╩╟╡┌"+ALLTRIM(STR(MITEM1))+"╕÷╣ª─▄"+"╡─╡┌";
- +ALLTRIM(STR(MITEM2))+"╕÷╤í╧ε"
- WAIT "╟δ░┤╚╬╥╗╝ⁿ╝╠╨°" WINDOW
- DEACTIVATE WINDOW win1
- SET CURSOR ON
- RETURN