home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: MENU.PRG ⌐ª
- *⌐ª Function: ╧┬└¡╩╜▓╦╡Ñ╖╢└². ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- * ▒╛│╠╨≥╓╗╩╟╩╣╙├ FOXPRO 2.5 for DOS ╓╨╡─├ⁿ┴ε║═║»╩²╔Φ╝╞╧┬└¡╩╜▓╦╡Ñ╡─╥╗
- * ╕÷╩╡└². ╫ó╥Γ╞Σ▓╗░ⁿ║¼╦∙╡≈╙├╡─╫╙│╠╨≥.
-
- SET TALK OFF
- SET SAFETY OFF
- SET MESSAGE TO 24 CENTER
- SET COLOR OF SCHEME 2 TO BG/W,N/W,N/W,B/W,B/BG,N/BG,GR+/W,N+/N,B/W,W/N,+
- * ╨▐╕─ 2║┼╡≈╔½┼╠╡─╡┌ 7╕÷╔½▓╩╢╘, ╩╣╚╚╝ⁿ╤╒╔½╙╔+W/W ╕─╬¬ GR+/W.
- SET BORDER TO SINGLE
- * ╓╕╢¿═Γ┐≥╬¬╡Ñ╧▀.
-
- ON ERROR DO ERR_2 WITH PROGRAM(),LINENO(),ERROR(),MESSAGE(1),MESSAGE()
- *ON ERROR DO ERR_PRO WITH LINENO(1),PROGRAM(),MESSAGE(),MESSAGE(1),ERROR(),;
- WLAST(),WREAD(),WONTOP(),RDLEVEL()
- * │÷┤φ╩▒, ╡≈╙├┤φ╬≤┤ª└φ│╠╨≥:ERR_1.PRG.
-
- PUBLIC DBNAME,DBNAME1,DBNAME2
- STORE SPACE(11) TO DBNAME
- CLEAR
- DEFINE WINDOW win FROM 20,2 TO 23,77 ;
- TITLE "╦╡├≈╩╙┤░" DOUBLE SHADOW COLOR SCHEME 5
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñ:mainmenu
- DEFINE MENU mainmenu
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñ╕≈╓≈╤í╧ε
- DEFINE PAD pad1 OF mainmenu PROMPT " ╧╡═│╬¼╗ñ"
- DEFINE PAD pad2 OF mainmenu PROMPT " ╣ñ╫╩┐Γ╬¼╗ñ "
- DEFINE PAD pad3 OF mainmenu PROMPT " ┤≥╙í▒¿▒φ "
- DEFINE PAD pad4 OF mainmenu PROMPT " ╝∞ ╦≈ "
- DEFINE PAD pad5 OF mainmenu PROMPT " ═│ ╝╞ "
- DEFINE PAD pad6 OF mainmenu PROMPT " ╞Σ ╦ⁿ "
- ON PAD pad1 OF mainmenu ACTIVATE POPUP pop1
- ON PAD pad2 OF mainmenu ACTIVATE POPUP pop2
- ON PAD pad3 OF mainmenu ACTIVATE POPUP pop3
- ON PAD pad4 OF mainmenu ACTIVATE POPUP pop4
- ON PAD pad5 OF mainmenu ACTIVATE POPUP pop5
- ON PAD pad6 OF mainmenu ACTIVATE POPUP pop6
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñmainmenu╡─╡┌╥╗╕÷╫╙▓╦╡Ñ:pop1
- DEFINE POPUP pop1 MARGIN MESSAGE "╧╡═│╬¼╗ñ: ░µ▒╛║┼íó╧╡═│╔Φ╓├íó╤╒╔½╝»╔Φ╓├íó;
- ▒╕╖▌íó╧╘╩╛╩╣╙├╦╡├≈╩Θíó┤·┬δ┐Γ╬¼╗ñíó╝╞╦π╞≈íó─Ω└·/╚╒╝╟" SHADOW
- DEFINE BAR 1 OF pop1 PROMPT "\<1.░µ▒╛"
- DEFINE BAR 2 OF pop1 PROMPT "\<2.╧╡═│╔Φ╓├"
- DEFINE BAR 3 OF pop1 PROMPT "\<3.╤╒╔½╝»╔Φ╓├"
- DEFINE BAR 4 OF pop1 PROMPT "\<4.▒╕╖▌"
- DEFINE BAR 5 OF pop1 PROMPT "\<5.╩╣╙├╦╡├≈" KEY CTRL+S, '^S'
- * ╩╣╙├ KEY▓╬╩²╓╕╢¿╣ª─▄╝ⁿ
- DEFINE BAR 6 OF pop1 PROMPT "\<6.┤·┬δ┐Γ╬¼╗ñ"
- DEFINE BAR 7 OF pop1 PROMPT "\<7.╝╞╦π╞≈" KEY CTRL+C, '^C'
- DEFINE BAR 8 OF pop1 PROMPT "\<8.─Ω└·/╚╒╝╟" KEY CTRL+D, '^D'
- DEFINE BAR 9 OF pop1 PROMPT "\-"
- DEFINE BAR 10 OF pop1 PROMPT "\<9.═╦│÷"
-
- * ╢¿╥σ╫╙▓╦╡Ñpop1╕≈╤í╧ε╡─╓┤╨╨│╠╨≥╗≥├ⁿ┴ε.
- ON SELECT BAR 1 OF pop1 DO VERSION
- ON BAR 2 OF pop1 ACTIVATE POPUP POP1_1
- ON BAR 3 OF pop1 ACTIVATE POPUP POP1_2
- ON SELECT BAR 4 OF pop1 DO BACKUP
- ON SELECT BAR 5 OF pop1 RUN README
- ON BAR 6 OF pop1 ACTIVATE POPUP POP1_3
- ON SELECT BAR 7 OF pop1 DO CALCULAT
- ON SELECT BAR 8 OF pop1 DO CALENDAR
- ON SELECT BAR 10 OF poP1 QUIT
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñ╡┌╥╗╕÷╫╙▓╦╡Ñpop1╡─╢■╝╢╫╙▓╦╡Ñ:pop1_1
- DEFINE POPUP POP1_1 MARGIN FROM 10,18;
- MESSAGE " ╔Φ╓├╫┤╠¼╨╨, ╩▒╓╙╧╘╩╛ " SHADOW
- * ╩╣╙├ FROM <row>,<col> ▓╬╩²╓╕╢¿ pop1_1╡─╬╗╓├
- DEFINE BAR 1 OF POP1_1 PROMPT "\<1.╫┤╠¼╨╨╔Φ╢¿"
- DEFINE BAR 2 OF POP1_1 PROMPT "\<2.╩▒╓╙╧╘╩╛╔Φ╢¿"
- ON SELECTION POPUP POP1_1 DO SYSPASET WITH PROMPT()
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñ╡┌╥╗╕÷╫╙▓╦╡Ñpop1╡─╢■╝╢╫╙▓╦╡Ñ:pop1_2
- DEFINE POPUP POP1_2 MARGIN FROM 9,18;
- MESSAGE " ╔Φ╓├╤╒╔½╝» " SHADOW
- DEFINE BAR 1 OF POP1_2 PROMPT "\<1.╤╒╔½╝»╥╗ (╝╚╢¿)"
- DEFINE BAR 2 OF POP1_2 PROMPT "\<2.╤╒╔½╝»╢■"
- DEFINE BAR 3 OF POP1_2 PROMPT "\<3.╤╒╔½╝»╚²"
- DEFINE BAR 4 OF POP1_2 PROMPT "\<4.╤╒╔½╝»╦─ (╡Ñ╔½)"
- ON SELECTION POPUP POP1_2 DO COLORSET WITH PROMPT()
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñ╡┌╥╗╕÷╫╙▓╦╡Ñpop1╡─╢■╝╢╫╙▓╦╡Ñ:pop1_3
- DEFINE POPUP POP1_3 MARGIN FROM 10,18 MESSAGE;
- " ┤·┬δ┐Γ╬¼╗ñ: ▓┐├┼íó╫╓╢╬┤·┬δ┐Γ╝╟┬╝╘÷╝╙íó╔╛│²íó╨▐╕─íóΣ»└└ " SHADOW
- DEFINE BAR 1 OF POP1_3 PROMPT "\<1.▓┐├┼┤·┬δ┐Γ "
- DEFINE BAR 2 OF POP1_3 PROMPT "\<2.╫╓╢╬┤·┬δ┐Γ "
- ON SELECTION POPUP POP1_3 DO UPCODE
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñmainmenu╡─╡┌╢■╕÷╫╙▓╦╡Ñ:pop2
- DEFINE POPUP pop2 MARGIN;
- MESSAGE "╩²╛▌┐Γ╬¼╗ñ: ╩²╛▌┐Γ╝╟┬╝╘÷╝╙íó╔╛│²íó╨▐╕─íóΣ»└└" SHADOW
- DEFINE BAR 1 OF pop2 PROMPT "\<1.╘÷╝╙╝╟┬╝"
- DEFINE BAR 2 OF pop2 PROMPT "\<2.╨▐╕─╝╟┬╝"
- DEFINE BAR 3 OF pop2 PROMPT "\<3.╡Ñ╧ε╨▐╕─"
- DEFINE BAR 4 OF pop2 PROMPT "\<4.╔╛│²╝╟┬╝"
- DEFINE BAR 5 OF pop2 PROMPT "\<5.Σ»└└╝╞┬╝"
- ON SELECT BAR 1 OF pop2 DO ADD_1
- ON SELECT BAR 2 OF pop2 DO UPDATE
- ON BAR 3 OF pop2 ACTIVATE POPUP POP2_1
- ON SELECT BAR 4 OF pop2 DO DELETE
- ON SELECT BAR 5 OF pop2 DO SELE_DB
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñ╡┌╢■╕÷╫╙▓╦╡Ñpop2╡─╢■╝╢╫╙▓╦╡Ñ:pop2_1
- DEFINE POPUP POP2_1 MARGIN FROM 5,26;
- MESSAGE " ╓╗╨▐╕─╣ñ╫╩┐Γ╓╕╢¿╡─╫╓╢╬ " SHADOW
- DEFINE BAR 1 OF POP2_1 PROMPT "\<1.╓≡╠⌡╨▐╕─ "
- DEFINE BAR 2 OF POP2_1 PROMPT "\<2.╫╘╢»╓├╗╗ "
- ON SELECTION BAR 1 OF POP2_1 DO SING_UP1
- ON SELECTION BAR 2 OF POP2_1 DO SING_UP2
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñmainmenu╡─╡┌╚²╕÷╫╙▓╦╡Ñ:pop3
- DEFINE POPUP pop3 MARGIN MESSAGE "┤≥╙í╕≈╓╓▒¿▒φ" SHADOW
- DEFINE BAR 1 OF pop3 PROMPT "\<1.▒╛╘┬╣ñ╫╩▒φ"
- DEFINE BAR 2 OF pop3 PROMPT "\<2.▒╛╘┬╗π╫▄▒φ"
- DEFINE BAR 3 OF pop3 PROMPT "\-"
- DEFINE BAR 4 OF pop3 PROMPT "\<3.▓┐├┼╚╦╘▒├√╡Ñ"
- DEFINE BAR 5 OF pop3 PROMPT "\<4.╚╦╘▒┐╒░╫▒φ"
- DEFINE BAR 6 OF pop3 PROMPT "\-"
- DEFINE BAR 7 OF pop3 PROMPT "\<5.╞Σ╦ⁿ▒φ╥╗"
- DEFINE BAR 8 OF pop3 PROMPT "\<6.╞Σ╦ⁿ▒φ╢■"
- ON SELECT BAR 1 OF pop3 DO SALA_P
- ON SELECT BAR 2 OF pop3 DO TOTAL_P
- ON SELECT BAR 4 OF pop3 DO B3_P
- ON SELECT BAR 5 OF pop3 DO B4_P
- ON SELECT BAR 7 OF pop3 DO Q1_P
- ON SELECT BAR 8 OF pop3 DO Q2_P
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñmainmenu╡─╡┌╦─╕÷╫╙▓╦╡Ñ:pop4
- DEFINE POPUP pop4 MARGIN MESSAGE "╕≈╓╓╠⌡╝■╝∞╦≈" SHADOW
- DEFINE BAR 1 OF pop4 PROMPT "\<1.╣╠╢¿╝∞╦≈"
- DEFINE BAR 2 OF pop4 PROMPT "\<2.╠⌡╝■╝∞╦≈"
- DEFINE BAR 3 OF pop4 PROMPT "\<3.╫╘╙╔╝∞╦≈"
- DEFINE BAR 4 OF pop4 PROMPT "\<4.╫╘╢¿╥σ╝∞╦≈ "
- ON SELECT BAR 1 OF pop4 DO FIXEDFND
- ON SELECT BAR 2 OF pop4 DO CONDIFND
- ON SELECT BAR 3 OF pop4 DO FREEFND
- ON SELECT BAR 4 OF pop4 DO DEFINFND
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñmainmenu╡─╡┌╬σ╕÷╫╙▓╦╡Ñ:pop5
- DEFINE POPUP pop5 MARGIN MESSAGE "╕≈╓╓═│╝╞╩Σ│÷" SHADOW
- DEFINE BAR 1 OF pop5 PROMPT "\<1.╣ñ╫╩╢ε═│╝╞"
- DEFINE BAR 2 OF pop5 PROMPT "\<2.▓┐├┼╚╦╩²═│╝╞"
- DEFINE BAR 3 OF pop5 PROMPT "\<3.▓┐├┼íó╣ñ╫╩╖╓▓╝"
- DEFINE BAR 4 OF pop5 PROMPT "\-"
- DEFINE BAR 5 OF pop5 PROMPT "\<4.╫╘╙╔╠⌡╝■═│╝╞"
- ON SELECT BAR 1 OF pop5 DO T1
- ON SELECT BAR 2 OF pop5 DO T2
- ON SELECT BAR 3 OF pop5 DO T3
- ON SELECT BAR 5 OF pop5 DO T4
-
- * ╢¿╥σ╧┬└¡╩╜▓╦╡Ñmainmenu╡─╡┌┴∙╕÷╫╙▓╦╡Ñ:pop6
- DEFINE POPUP pop6 MARGIN MESSAGE "╕≈╓╓╞Σ╦ⁿ▓┘╫≈" SHADOW
- DEFINE BAR 1 OF pop6 PROMPT "\<1.╬─╝■▒α╝¡"
- DEFINE BAR 2 OF pop6 PROMPT "\<2.╩²╛▌┐ΓΣ»└└"
- DEFINE BAR 3 OF pop6 PROMPT "\<3.╩Σ│÷ASCII╬─╝■"
- DEFINE BAR 4 OF pop6 PROMPT "\-"
- DEFINE BAR 5 OF pop6 PROMPT "\<4.WPS ╬─╫╓▒α╝¡"
- DEFINE BAR 6 OF pop6 PROMPT "\<5.CCED╫╓▒φ▒α╝¡"
- DEFINE BAR 7 OF pop6 PROMPT "\-"
- DEFINE BAR 8 OF pop6 PROMPT "\<6.╖╡╗╪ DOS╧╡═│"
- ON SELECT BAR 1 OF POP6 FILER
- ON SELECT BAR 2 OF POP6 ACTIVATE WINDOW CALCULATOR
- ON SELECT BAR 3 OF POP6 DO W3
- ON SELECT BAR 5 OF POP6 DO W4
- ON SELECT BAR 6 OF POP6 RUN CCED
- ON SELECT BAR 8 OF POP6 QUIT
-
- * ╞⌠╢»╧┬└¡╩╜▓╦╡Ñmainmenu
- ACTIVATE MENU MAINMENU
- DEACTIVATE WINDOW win
- SET CURSOR ON
- ON ERROR
- RETURN