home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP5_18.PRG ⌐ª
- *⌐ª Function: ▓╦╡Ñ╤í╧ε╓┤╨╨╠⌡╝■╡─╖╢└². ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET ESCAPE OFF
- CLEAR ALL
- CLEAR
-
- DEFINE MENU main
- DEFINE PAD mypad1 OF main PROMPT "\<A.╗╖╛│╫┤╠¼╔Φ╓├ "
- DEFINE PAD mypad2 OF main PROMPT "\<B.┤≥╙í╕≈└α▒¿▒φ "
-
- ON PAD mypad1 OF main ACTIVATE POPUP mypop1
- ON PAD mypad2 OF main ACTIVATE POPUP mypop2
-
- DEFINE POPUP mypop1
- DEFINE BAR 1 OF mypop1 PROMPT "\<1.╝∞▓Θ┤≥╙í╗· "
- DEFINE BAR 2 OF mypop1 PROMPT "\<2.╔Φ╢¿╧╡═│╩▒╝Σ "
- DEFINE BAR 3 OF mypop1 PROMPT "\<3.╧╡═│╔Φ╓├ "
- ON SELECTION POPUP mypop1 DO subroute1 WITH BAR()
-
- DEFINE POPUP mypop2
- DEFINE BAR 1 OF mypop2 PROMPT "\<1.╫╩▓·╕║╒«▒φ "
- DEFINE BAR 2 OF mypop2 PROMPT "\<2.╦≡╥µ▒φ "
- DEFINE BAR 3 OF mypop2 PROMPT "\<3.┤½╞▒ "
-
- ON SELECTION POPUP mypop2 DO subroute2
-
- SET SKIP OF PAD mypad2 OF main !PRINTSTATUS()
-
- ACTIVATE MENU main
-
- PROCEDURE subroute1
- PARAMETER mbar
- IF mbar=1
- PRINTSTAT=SKPPAD("main","mypad2")
- DO CASE
- CASE PRINTSTAT
- =detect()
- CASE !PRINTSTATUS()
- SET SKIP OF PAD mypad2 OF main .T.
- =detect()
- OTHERWISE
- @ 24,0 SAY ;
- PADC("<< ┤≥╙í╗·╥╤┤ª╙┌ ON-LINE ╫┤╠¼ >>",80,CHR(156))
- =INKEY(1,"HM")
- ENDCASE
- ELSE
- @ 24,0 SAY PADC("<<▒º╟╕, ╔╨╬┤╜¿┴ó>>",80,CHR(156))
- =INKEY(10,"HM")
- ENDIF
- @ 24,0 CLEAR
- FUNCTION detect
- SET CURSOR OFF
- DO WHILE !PRINTSTATUS()
- @ 24,0 SAY ;
- PADC("<< ╟δ╜½┤≥╙í╗·┤≥┐¬,╩╣╞Σ┤ª╙┌ ON-LINE ╫┤╠¼ "+;
- "╗≥░┤[ESC]╝ⁿ╖┼╞·╔Φ╓├ >>",80,CHR(156))
- IF INKEY()=27
- EXIT
- ENDIF
- ENDDO
- SET CURSOR ON
- IF PRINTSTATUS()
- SET SKIP OF PAD mypad2 OF main .F.
- @ 24,0 CLEAR
- @ 24,0 SAY PADC("<< ┤≥╙í╗·╥╤┤ª╙┌ ON-LINE ╫┤╠¼ >",80,CHR(156))
- =INKEY(1,"HM")
- ENDIF
- RETURN
-
- PROCEDURE subroute2
- @ 24,0 SAY PADC("<<▒º╟╕, ╔╨╬┤╜¿┴ó>>",80,CHR(156))
- =INKEY(10,"HM")
- @ 24,0 CLEAR