home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / b / b034 / gz.img / ╕┤╓╞.PRG < prev    next >
Encoding:
Text File  |  1989-01-07  |  6.0 KB  |  249 lines

  1. *╩²╛▌╕┤╓╞╫╙│╠╨≥:╕┤╓╞.PRG
  2. set talk off
  3. cp1=.t.
  4. do while cp1
  5. cp='        '
  6. cp2='   '
  7. clear
  8. @ 4,30 say '╩²╛▌╕┤╓╞└α╨═'
  9. @ 5,29 say '============='
  10. @ 7,20 say '╕┤╓╞▒╕╙├┼╠(┤╙ A:┼╠╕┤╡╜ B:┼╠)----------- 1'
  11. @ 9,20 say '╘¡╩╝╩²╛▌╕┤╓╞(┤╙ B:┼╠╕┤╡╜ A:┼╠)--------- 2'
  12. @ 11,20 say '╓╞╫≈└·╩╖╫╩┴╧--------------------------- 3'
  13. @ 13,20 say '═╦│÷ ---------------------------------- 4'
  14. @ 15,20 say '╟δ╩Σ╚δ─·╥¬╤í╙├╡─▒α║┼:  ' get cp
  15.      read
  16.     do case
  17. case cp='1'
  18.      cpbm1=0
  19.      aw1=.t.
  20.      do while aw1
  21.      aw1=.f.
  22.      clear
  23.      @ 2,34 say '╥¬╕┤╓╞╡─▓┐├┼'
  24.      @ 3,33 say '============='
  25.      @ 5,15 say '╓▒╩⌠--------------- 1'
  26.      @ 5,45 say '╕ú└√--------------- 6'
  27.      @ 7,15 say '═╦╨▌--------------- 2'
  28.      @ 7,45 say '╙═╞ß--------------- 7'
  29.      @ 9,15 say '╟░▓µ--------------- 3'
  30.      @ 9,45 say '╗·─ú--------------- 8'
  31.      @ 11,15 say '│σ╤╣--------------- 4'
  32.      @ 11,45 say '╨┬▓·╞╖------------- 9'
  33.      @ 13,15 say '▒╕┴╧--------------- 5'
  34.      @ 13,45 say '╫▄╫░--------------- 10'
  35.      @ 16,33 say '********'
  36.      @ 17,33 say '* ╠ß╩╛ *'
  37.      @ 18,33 say '********'
  38.      @ 19,20 say '1. ╒Γ╥╗╫╙│╠╨≥╣ª─▄╬¬╕┤╓╞▒╕╙├┼╠,╥╘╖└═≥╥╗;'
  39.      @ 20,20 say '2. ╘┌ A:┼╠(╔╧)▓σ╚δ╥╤╨▐╕─┴╦╫ε╘¡╩╝╩²╛▌╡─▓┐├┼╣ñ╫╩┐¿,'
  40.      @ 21,20 say '   ╘┌ B:┼╠(╧┬)▓σ╚δ▒╕╙├┐¿.'
  41.      @ 15,10 say '╟δ╩Σ╚δ╥¬╕┤╓╞╡─▓┐├┼╡─▒α║┼' get cpbm1
  42.       read
  43.      if cpbm1=1
  44.         store '╓▒╩⌠' to w1
  45.         store 'copy file a:gz.dbf to b:╓▒GZ.DBF' to xx
  46.      endif
  47.      if cpbm1=2
  48.         store '═╦╨▌' to w1
  49.         store 'copy file a:gz.dbf to b:═╦GZ.DBF' to xx
  50.      endif
  51.      if cpbm1=3
  52.         store '╟░▓µ' to w1
  53.         store 'copy file a:gz.dbf to b:╟░GZ.DBF' to xx
  54.      endif
  55.      if cpbm1=4
  56.         store '│σ╤╣' to w1
  57.         store 'copy file a:gz.dbf to b:│σGZ.DBF' to xx
  58.      endif
  59.      if cpbm1=5
  60.         store '▒╕┴╧' to w1
  61.         store 'copy file a:gz.dbf to b:▒╕GZ.DBF' to xx
  62.      endif
  63.      if cpbm1=6
  64.         store '╕ú└√' to w1
  65.         store 'copy file a:gz.dbf to b:╕úGZ.DBF' to xx
  66.      endif
  67.      if cpbm1=7
  68.         store '╙═╞ß' to w1
  69.         store 'copy file a:gz.dbf to b:╙═GZ.DBF' to xx
  70.      endif
  71.      if cpbm1=8
  72.         store '╗·─ú' to w1
  73.         store 'copy file a:gz.dbf to b:╗·GZ.DBF' to xx
  74.      endif
  75.      if cpbm1=9
  76.         store '╨┬▓·╞╖' to w1
  77.         store 'copy file a:gz.dbf to b:╨┬GZ.DBF' to xx
  78.      endif
  79.      if cpbm1=10
  80.         store '╫▄╫░' to w1
  81.         store 'copy file a:gz.dbf to b:╫▄GZ.DBF' to xx
  82.      endif
  83.      use a:gz
  84.      if ▓┐├┼<>w1
  85.      clear
  86.      @ 5,22 say '─·╘┌ A:┼╠(╔╧)▓σ╚δ╡─▓┐├┼╩²╛▌┐¿┤φ┴╦'
  87.      @ 7,22 say '         ╟δ─·╓╪╨┬▓σ╣²'
  88.      ?
  89.      ?
  90.      wait
  91.      aw1=.t.
  92.      endif
  93.      use
  94.      enddo
  95.      clear
  96.      @ 8,30 say '╒²╘┌╕┤╓╞,╟δ─═╨─╡╚┤²'
  97.      &xx
  98.      @ 12,20 say '╕┤╓╞═Ω▒╧,╩╟╖±╝╠╨°╕┤╓╞(y/n)?  ' get cp2
  99.           read
  100.      if cp2='n'.or.cp2='N'
  101.         cp1=.f.
  102.      endif
  103. case cp='2'
  104.      cpbm2=0
  105.      aw2=.t.
  106.      do while aw2
  107.      aw2=.f.
  108.      clear
  109.      @ 2,34 say '╥¬╕┤╓╞╡─▓┐├┼'
  110.      @ 3,33 say '============='
  111.      @ 5,15 say '╓▒╩⌠--------------- 1'
  112.      @ 5,45 say '╕ú└√--------------- 6'
  113.      @ 7,15 say '═╦╨▌--------------- 2'
  114.      @ 7,45 say '╙═╞ß--------------- 7'
  115.      @ 9,15 say '╟░▓µ--------------- 3'
  116.      @ 9,45 say '╗·─ú--------------- 8'
  117.      @ 11,15 say '│σ╤╣--------------- 4'
  118.      @ 11,45 say '╨┬▓·╞╖------------- 9'
  119.      @ 13,15 say '▒╕┴╧--------------- 5'
  120.      @ 13,45 say '╫▄╫░--------------- 10'
  121.      @ 16,33 say '********'
  122.      @ 17,33 say '* ╠ß╩╛ *'
  123.      @ 18,33 say '********'
  124.      @ 19,20 say '1. ╒Γ╥╗╫╙│╠╨≥╣ª─▄╬¬╕┤╓╞╫ε╘¡╩╝╩²╛▌╡─▓┐├┼╣ñ╫╩┐¿,╥╘┤²╨▐╕─;'
  125.      @ 20,20 say '2. ╘┌ A:┼╠(╔╧)▓σ╚δ╕≈▓┐├┼╣ñ╫╩┐¿,'
  126.      @ 21,20 say '   ╘┌ B:┼╠(╧┬)▓σ╚δ▒╕╙├┐¿.'
  127.      @ 15,10 say '╟δ╩Σ╚δ╥¬╕┤╓╞╡─▓┐├┼╡─▒α║┼' get cpbm2
  128.       read
  129.      if cpbm2=1
  130.         store '╓▒╩⌠' to w1
  131.         store 'copy file b:╓▒GZ.DBF to a:gz.dbf' to xx
  132.      endif
  133.      if cpbm2=2
  134.         store '═╦╨▌' to w1
  135.         store 'copy file b:═╦GZ.DBF to a:gz.dbf' to xx
  136.      endif
  137.      if cpbm2=3
  138.         store '╟░▓µ' to w1
  139.         store 'copy file b:╟░GZ.DBF to a:gz.dbf' to xx
  140.      endif
  141.      if cpbm2=4
  142.         store '│σ╤╣' to w1
  143.         store 'copy file b:│σGZ.DBF to a:gz.dbf' to xx
  144.      endif
  145.      if cpbm2=5
  146.         store '▒╕┴╧' to w1
  147.         store 'copy file b:▒╕GZ.DBF to a:gz.dbf' to xx
  148.      endif
  149.      if cpbm2=6
  150.         store '╕ú└√' to w1
  151.         store 'copy file b:╕úGZ.DBF to a:gz.dbf' to xx
  152.      endif
  153.      if cpbm2=7
  154.         store '╙═╞ß' to w1
  155.         store 'copy file b:╙═GZ.DBF to a:gz.dbf' to xx
  156.      endif
  157.      if cpbm2=8
  158.         store '╗·─ú' to w1
  159.         store 'copy file b:╗·GZ.DBF to a:gz.dbf' to xx
  160.      endif
  161.      if cpbm2=9
  162.         store '╨┬▓·╞╖' to w1
  163.         store 'copy file b:╨┬GZ.DBF to a:gz.dbf' to xx
  164.      endif
  165.      if cpbm2=10
  166.         store '╫▄╫░' to w1
  167.         store 'copy file b:╫▄GZ.DBF to a:gz.dbf' to xx
  168.      endif
  169.      use a:gz
  170.      if ▓┐├┼<>w1
  171.      clear
  172.      @ 5,22 say '─·╘┌ A:┼╠(╔╧)▓σ╚δ╡─▓┐├┼╩²╛▌┐¿┤φ┴╦'
  173.      @ 7,22 say '         ╟δ─·╓╪╨┬▓σ╣²'
  174.      ?
  175.      ?
  176.      wait
  177.      aw2=.t.
  178.      endif
  179.      use
  180.      enddo
  181.      clear
  182.      @ 8,30 say '╒²╘┌╕┤╓╞,╟δ─═╨─╡╚┤²'
  183.      &xx
  184.      @ 12,20 say '╕┤╓╞═Ω▒╧,╩╟╖±╝╠╨°╕┤╓╞(y/n)?  ' get cp2
  185.           read
  186.      if cp2='n'.or.cp2='N'
  187.      cp1=.f.
  188.      endif
  189. case cp='3'
  190.      xx1=dtoc (date(),1)
  191.      xx2=substr(xx1,3,4)
  192.      xx3='b:GZ'+xx2+'.dbf'
  193.      clear
  194.      @ 10,25 say '╟δ╘┌ A:┼╠▓σ╚δ╓▒╩⌠▒╛╘┬╣ñ╫╩┐¿'
  195.      @ 12,25 say '╟δ╘┌ B:┼╠▓σ╚δ╣ñ╫╩╡╡░╕┐¿'
  196.      ?
  197.      wait
  198.      copy file a:gz.dbf to &xx3
  199.      clear
  200.      @ 10,25 say '╟δ╘┌ A:┼╠▓σ╚δ╕ú└√▒╛╘┬╣ñ╫╩┐¿'
  201.      ?
  202.      wait
  203.      use &xx3
  204.      append from a:gz.dbf
  205.      clear
  206.      @ 10,25 say '╟δ╘┌ A:┼╠▓σ╚δ╟░▓µ│╡╝Σ▒╛╘┬╣ñ╫╩┐¿'
  207.      ?
  208.      wait
  209.      use &xx3
  210.      append from a:gz.dbf
  211.      clear
  212.      @ 10,25 say '╟δ╘┌ A:┼╠▓σ╚δ│σ╤╣│╡╝Σ▒╛╘┬╣ñ╫╩┐¿'
  213.      ?
  214.      wait
  215.      use &xx3
  216.      append from a:gz.dbf
  217.      clear
  218.      @ 10,25 say '╟δ╘┌ A:┼╠▓σ╚δ╗·─ú│╡╝Σ▒╛╘┬╣ñ╫╩┐¿'
  219.      ?
  220.      wait
  221.      use &xx3
  222.      append from a:gz.dbf
  223.      clear
  224.      @ 10,25 say '╟δ╘┌ A:┼╠▓σ╚δ▒╕┴╧│╡╝Σ▒╛╘┬╣ñ╫╩┐¿'
  225.      ?
  226.      wait
  227.      use &xx3
  228.      append from a:gz.dbf
  229.      clear
  230.      @ 10,25 say '╟δ╘┌ A:┼╠▓σ╚δ╙═╞ß│╡╝Σ▒╛╘┬╣ñ╫╩┐¿'
  231.      ?
  232.      wait
  233.      use &xx3
  234.      append from a:gz.dbf
  235.      clear
  236.      @ 10,25 say '╟δ╘┌ A:┼╠▓σ╚δ╨┬▓·╞╖│╡╝Σ▒╛╘┬╣ñ╫╩┐¿'
  237.      ?
  238.      wait
  239.      use &xx3
  240.      append from a:gz.dbf
  241. case cp='4'
  242.      ? '═╦│÷'
  243.      cp1=.f.
  244. endcase
  245. enddo
  246. release all
  247. return
  248.  
  249.