home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP5_23.PRG ⌐ª
- *⌐ª Function: AutoCAD ╩╜▓╦╡Ñ╡─╖╢└². ⌐ª
- *⌐ª Proce: MENU.PRG ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET BORDER TO SINGLE
- SET COLOR TO W/B
- SET COLOR OF SCHEME 2 TO BG+/B,N/W,N/W,B/W,B/BG,W+/R,W+/W,N+/N,B/W,W/N,+
- * ╨▐╕─ 2║┼╡≈╔½┼╠╡─╡┌ 1╕÷╔½▓╩╢╘, ╩╣╬┤▒╗╞⌠╢»╡─╤í╧ε╡─╤╒╔½╙╔ BG/W ╕─╬¬ BG+/B.
- * ╨▐╕─ 2║┼╡≈╔½┼╠╡─╡┌ 6╕÷╔½▓╩╢╘, ╩╣╤í╘±╡─╤í╧ε╡─╤╒╔½╙╔ N/BG ╕─╬¬ W+/R.
-
- CLEAR
- DEFINE WINDOW win1 FROM 22, 2 TO 24, 78 COLOR SCHEME 7
- DEFINE WINDOW win2 FROM 0, 0 TO 24, 67 && COLOR SCHEME 7
-
- * ╓╕╢¿╙├ [Ctrl]+[S] ╝ⁿ╓╨╢╧│╠╨≥, ╫¬╢°╓┤╨╨ MENU.PRG (╧┬└¡╩╜▓╦╡Ñ)
- ON KEY LABEL CTRL+S DO MENU
-
- @ 0,0 TO 24,67
- * ╢¿╥σ╓≈▓╦╡Ñ mainmenu
- DEFINE POPUP mainmenu FROM 0,70
- DEFINE BAR 1 OF mainmenu PROMPT " ╓≈▓╦╡Ñ" SKIP
- DEFINE BAR 2 OF mainmenu PROMPT "\-"
- DEFINE BAR 3 OF mainmenu PROMPT "\<1.╧╡═│╬¼╗ñ"
- DEFINE BAR 4 OF mainmenu PROMPT "\<2.┐Γ╬¼╗ñ "
- DEFINE BAR 5 OF mainmenu PROMPT "\<3.▓Θ╤» "
- DEFINE BAR 6 OF mainmenu PROMPT "\<4.▒¿▒φ┤≥╙í"
- DEFINE BAR 7 OF mainmenu PROMPT "\<5.═│╝╞┤ª└φ"
- DEFINE BAR 8 OF mainmenu PROMPT "\<6.═╝╨╬╩Σ│÷"
- DEFINE BAR 9 OF mainmenu PROMPT "\<7.╗π╫▄ "
- DEFINE BAR 10 OF mainmenu PROMPT "\<8.├ⁿ┴ε┤░┐┌"
- DEFINE BAR 11 OF mainmenu PROMPT "\<9.╖╡╗╪ DOS"
- ON SELECTION POPUP mainmenu DO Mainmenu
-
- DEFINE POPUP submenu1 FROM 0,70
- DEFINE BAR 1 OF submenu1 PROMPT " ╧╡═│╬¼╗ñ" SKIP
- DEFINE BAR 2 OF submenu1 PROMPT "\-"
- DEFINE BAR 3 OF submenu1 PROMPT "\<1.▒╕╖▌"
- DEFINE BAR 4 OF submenu1 PROMPT "\<2.┤╩╡Σ╬¼╗ñ"
- DEFINE BAR 5 OF submenu1 PROMPT "\<3.╧╘╩╛╦╡├≈"
- DEFINE BAR 6 OF submenu1 PROMPT "\<4.╧╡═│▓╬╩²"
- ON SELECTION POPUP submenu1 DO subroute1
-
- DEFINE POPUP submenu2 FROM 0,70
- DEFINE BAR 1 OF submenu2 PROMPT " ┐Γ╬¼╗ñ" SKIP
- DEFINE BAR 2 OF submenu2 PROMPT "\-"
- DEFINE BAR 3 OF submenu2 PROMPT "\<1.╫╖╝╙╝╟┬╝"
- DEFINE BAR 4 OF submenu2 PROMPT "\<2.╔╛│²╝╟┬╝"
- DEFINE BAR 5 OF submenu2 PROMPT "\<3.╨▐╕─╝╟┬╝"
- DEFINE BAR 6 OF submenu2 PROMPT "\<4.Σ»└└ "
- ON SELECTION POPUP submenu2 DO subroute
-
- DEFINE POPUP submenu3 FROM 0,70
- DEFINE BAR 1 OF submenu3 PROMPT " ▓Θ ╤» " SKIP
- DEFINE BAR 2 OF submenu3 PROMPT "\-"
- DEFINE BAR 3 OF submenu3 PROMPT "\<1.╣╠╢¿╝∞╦≈"
- DEFINE BAR 4 OF submenu3 PROMPT "\<2.╠⌡╝■╝∞╦≈"
- DEFINE BAR 5 OF submenu3 PROMPT "\<3.╫╘╙╔╝∞╦≈"
- DEFINE BAR 6 OF submenu3 PROMPT "\<4.╫╘╢¿╥σ "
- ON SELECTION POPUP submenu3 DO subroute
-
- DEFINE POPUP submenu4 FROM 0,70
- DEFINE BAR 1 OF submenu4 PROMPT " ▒¿▒φ┤≥╙í" SKIP
- DEFINE BAR 2 OF submenu4 PROMPT "\-"
- DEFINE BAR 3 OF submenu4 PROMPT "\<1.╥╗└└▒φ"
- DEFINE BAR 4 OF submenu4 PROMPT "\<2.╕÷╚╦▒φ"
- DEFINE BAR 5 OF submenu4 PROMPT "\<3.╣ñ╫≈═│╝╞"
- DEFINE BAR 6 OF submenu4 PROMPT "\<4.╬─╗»│╠╢╚"
- DEFINE BAR 7 OF submenu4 PROMPT "\<5.─Ω┴Σ═│╝╞"
- DEFINE BAR 8 OF submenu4 PROMPT "\<6.╡│╒■╓░╬±"
- DEFINE BAR 9 OF submenu4 PROMPT "\<7.╨╘▒≡═│╝╞"
- DEFINE BAR 10 OF submenu4 PROMPT "\<8.╫╘╢»╓╞▒φ"
- ON SELECTION POPUP submenu4 DO subroute
-
- DEFINE POPUP submenu5 FROM 0,70
- DEFINE BAR 1 OF submenu5 PROMPT " ═│╝╞┤ª└φ" SKIP
- DEFINE BAR 2 OF submenu5 PROMPT "\-"
- DEFINE BAR 3 OF submenu5 PROMPT "\<1.┤╙╩┬╣ñ╫≈"
- DEFINE BAR 4 OF submenu5 PROMPT "\<2.╬─╗»│╠╢╚"
- DEFINE BAR 5 OF submenu5 PROMPT "\<3.─Ω┴Σ"
- DEFINE BAR 6 OF submenu5 PROMPT "\<4.╡│╒■╓░╬±"
- DEFINE BAR 7 OF submenu5 PROMPT "\<5.╨╘▒≡"
- DEFINE BAR 8 OF submenu5 PROMPT "\<6.╫╘╢¿╥σ"
- DEFINE BAR 9 OF submenu5 PROMPT "\<7.┐ΓΣ»└└"
- ON SELECTION POPUP submenu5 DO subroute
-
- DEFINE POPUP submenu6 FROM 0,70
- DEFINE BAR 1 OF submenu6 PROMPT " ═╝╨╬╩Σ│÷" SKIP
- DEFINE BAR 2 OF submenu6 PROMPT "\-"
- DEFINE BAR 3 OF submenu6 PROMPT "\<1.╧╘╩╛═╝╨╬"
- DEFINE BAR 4 OF submenu6 PROMPT "\<2.╔·│╔═╝╨╬"
- ON SELECTION POPUP submenu6 DO subroute
-
- DEFINE POPUP submenu7 FROM 0,70
- DEFINE BAR 1 OF submenu7 PROMPT " ╗π ╫▄" SKIP
- DEFINE BAR 2 OF submenu7 PROMPT "\-"
- DEFINE BAR 3 OF submenu7 PROMPT "\<1.╥╗╣½╦╛┼╠"
- DEFINE BAR 4 OF submenu7 PROMPT "\<2.╢■╣½╦╛┼╠"
- DEFINE BAR 5 OF submenu7 PROMPT "\<3.╚²╣½╦╛┼╠"
- DEFINE BAR 6 OF submenu7 PROMPT "\<4.╦─╣½╦╛┼╠"
- DEFINE BAR 7 OF submenu7 PROMPT "\<5.╬σ╣½╦╛┼╠"
- DEFINE BAR 8 OF submenu7 PROMPT "\<6.┴∙╣½╦╛┼╠"
- DEFINE BAR 9 OF submenu7 PROMPT "\<7.╞▀╣½╦╛┼╠"
- DEFINE BAR 10 OF submenu7 PROMPT "\<8.░╦╣½╦╛┼╠"
- DEFINE BAR 11 OF submenu7 PROMPT "\<9.╗π╫▄ "
- ON SELECTION POPUP submenu7 DO subroute
-
- ACTIVATE POPUP mainmenu
- HIDE POPUP mainmenu
- CLEAR
- RETURN
-
- PROCEDURE Mainmenu
- HIDE POPUP mainmenu
- DO CASE
- CASE BAR() = 3
- ACTIVATE POPUP submenu1
- CASE BAR() = 4
- ACTIVATE POPUP submenu2
- CASE BAR() = 5
- ACTIVATE POPUP submenu3
- CASE BAR() = 6
- ACTIVATE POPUP submenu4
- CASE BAR() = 7
- ACTIVATE POPUP submenu5
- CASE BAR() = 8
- ACTIVATE POPUP submenu6
- CASE BAR() = 9
- ACTIVATE POPUP submenu7
- CASE BAR() = 10
- DEACTIVATE POPUP
- CASE BAR() = 11
- QUIT
- ENDCASE
- CLOSE DATABASES
- RETURN
-
- PROCEDURE subroute1
- DO CASE
- CASE BAR() = 3
- DO subroute
- CASE BAR() = 4
- DO subroute
- CASE BAR() = 5
- DO subroute
- CASE BAR() = 6
- * CLEAR
- DO EXP5_11
- * * ╡≈╙├╧╡═│▓╬╩²╔Φ╓├╡─╫╙│╠╨≥
- ENDCASE
- @ 0,0 TO 24,67
- RETURN
-
- PROCEDURE subroute
- ACTIVATE WINDOW win2
- ACTIVATE WINDOW win1
- @ 0,4 SAY " │╠╨≥╔╨╬┤╜¿┴ó, ╟δ░┤╚╬╥╗╝ⁿ╝╠╨°, ╘┘░┤ [Esc] ╝ⁿ╖╡╗╪╓≈▓╦╡Ñ"
- WAIT ""
- DEACTIVATE WINDOW win1
- DEACTIVATE WINDOW win2
- RETURN