home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program:EXP5_1.PRG ⌐ª
- *⌐ª Function:╙├╘¡╙╨║»╩²╓╞╫≈╣Γ░⌠╩╜▓╦╡Ñ╡─╖╢└². ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET MESSAGE TO 24 CENTER
- SET COLOR TO W/N
- CLEAR
- SET COLOR TO W/B,W/R
- * ╢¿╥σ╧╘╩╛╨┼╧ó╡─┤░┐┌win1 ║══╦│÷│╠╨≥╡─┤░┐┌win2
- DEFINE WINDOW win1 FROM 22,1 TO 24,79 ;
- TITLE " ╨┼╧ó┤░┐┌ " SHADOW COLOR SCHEME 5
- DEFINE WINDOW win2 FROM 18,30 TO 21,50 SHADOW COLOR SCHEME 7
-
- DO WHILE .T.
- * ╗¡▓╦╡Ñ╡─═Γ┐≥
- @ 5, 9 TO 7,70 DOUBLE
- @ 6,10 SAY " ╓≈ ▓╦ ╡Ñ "
- @ 5, 9 TO 12,70 DOUBLE
- * ╢¿╥σ╕≈ PROMPT ╡──┌╚▌.
- @ 8,10 PROMPT "\<1.▒╕╖▌ " MESSAGE "▒╕╖▌╩²╛▌┐Γ╬─╝■"
- @ 9,10 PROMPT "\<2.╧╡═│╔Φ╓├ " MESSAGE "╔Φ╓├╙╨╣╪╧╡═│▓╬╩²"
- @10,10 PROMPT "\<3.╩²╛▌╫╓╡Σ╬¼╗ñ " MESSAGE "╬¼╗ñ╩²╛▌╫╓╡Σ"
- @11,10 PROMPT "\<4.╩╣╙├╦╡├≈ " MESSAGE "╧╘╩╛╩╣╙├╦╡├≈╩Θ"
- @ 8,25 PROMPT "\<5.╫╖╝╙╨┬╝╟┬╝ " MESSAGE "╧≥╩²╛▌┐Γ╓╨╫╖╝╙╝╟┬╝ "
- @ 9,25 PROMPT "\<6.╔╛│²╛╔╝╟┬╝ " MESSAGE "┤╙╩²╛▌┐Γ╓╨╔╛│²╝╟┬╝"
- @10,25 PROMPT "\<7.╨▐╕─╛╔╝╟┬╝ " MESSAGE "╘┌╩²╛▌┐Γ╓╨╨▐╕─╝╟┬╝"
- @11,25 PROMPT "\<8.Σ»└└┐Γ╝╟┬╝ " MESSAGE "Σ»└└╩²╛▌┐Γ╓╨╝╟┬╝"
- @ 8,40 PROMPT "\<9.╣╠╢¿╝∞╦≈ " MESSAGE "╙├╣╠╢¿╠⌡╝■╝∞╦≈╩²╛▌┐Γ"
- @ 9,40 PROMPT "\<A.╠⌡╝■╝∞╦≈ " MESSAGE "╙├╕°╢¿╠⌡╝■╝∞╦≈╩²╛▌┐Γ"
- @10,40 PROMPT "\<B.╫╘╙╔╝∞╦≈ " MESSAGE "╙├═Ω╚½╩Σ╚δ╖╜╩╜╝∞╦≈╩²╛▌┐Γ"
- @11,40 PROMPT "\<C.╫╘╢¿╥σ╝∞╦≈ " MESSAGE "╙├╫╘╢¿╥σ╠⌡╝■╝∞╦≈╩²╛▌┐Γ"
- @ 8,55 PROMPT "\<D.┤≥╙í▒¿▒φ╥╗ " MESSAGE "┤≥╙í▒¿▒φ╥╗:╚╦╘▒╥╗└└▒φ"
- @ 9,55 PROMPT "\<E.┤≥╙í▒¿▒φ╢■ " MESSAGE "┤≥╙í▒¿▒φ╢■:╚╦╘▒═│╝╞▒φ"
- @10,55 PROMPT "\<F.┤≥╙í▒¿▒φ╚² " MESSAGE "┤≥╙í▒¿▒φ╚²:╕÷╚╦┬─└·▒φ"
- @11,55 PROMPT "\<G.═╦│÷ " MESSAGE "═╦│÷▒╛│╠╨≥"
-
- MENU TO SELE && ╝ñ╗ε▓╦╡Ñ
- DO CASE
- CASE SELE=0 OR SELE=16 && ░┤ [ESC]╝ⁿ
- ANS=yn(" ╩╟╖±═╦│÷▒╛│╠╨≥? ")
- IF ANS=1
- CLEAR WINDOWS win
- CLEAR
- EXIT
- ENDIF
- CASE SELE=1
- DO SHOW WITH SELE
- CASE SELE=2
- DO SHOW WITH SELE
- CASE SELE=3
- DO SHOW WITH SELE
- CASE SELE=4
- DO SHOW WITH SELE
- CASE SELE=1
- DO SHOW WITH SELE
- CASE SELE=5
- DO SHOW WITH SELE
- CASE SELE=6
- DO SHOW WITH SELE
- CASE SELE=7
- DO SHOW WITH SELE
- CASE SELE=8
- DO SHOW WITH SELE
- CASE SELE=9
- DO SHOW WITH SELE
- CASE SELE=10
- DO SHOW WITH SELE
- CASE SELE=11
- DO SHOW WITH SELE
- CASE SELE=12
- DO SHOW WITH SELE
- CASE SELE=13
- DO SHOW WITH SELE
- CASE SELE=14
- DO SHOW WITH SELE
- CASE SELE=15
- DO SHOW WITH SELE
- CASE SELE=16
- DO SHOW WITH SELE
- ENDCASE
- ENDDO
-
- PROCEDURE SHOW
- PARAMETERS MITEM
- SET CURSOR OFF
- ACTIVATE WINDOW win1
- @ 0,4 SAY " ─π╤í╘±╡─╩╟╡┌ "+ALLTRIM(STR(MITEM))+" ╕÷╣ª─▄╤í╧ε"
- WAIT "╟δ░┤╚╬╥╗╝ⁿ╝╠╨°" WINDOW
- DEACTIVATE WINDOW win1
- SET CURSOR ON
- RETURN
-
- FUNCTION YN
- PARAMETERS YNWORD
- SET CURSOR OFF
- ACTIVATE WINDOW win2
- @ 0,2 SAY YNWORD
- @ 1, 5 PROMPT "\<1.╩╟"
- @ 1,12 PROMPT "\<2.╖±"
- MENU TO YNSEL
- DEACTIVATE WINDOW win2
- SET CURSOR ON
- RETURN YNSEL