home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / b / b034 / gz.img / ╨▐╕─.PRG < prev    next >
Encoding:
Text File  |  1980-01-03  |  19.4 KB  |  744 lines

  1. *╨▐╕─╫╙│╠╨≥:╨▐╕─.PRG
  2. clear
  3. set talk off
  4. yy=mo1+mo2/100
  5. xgbm=0
  6. clear
  7. @ 2,30 say '╥¬╨▐╕─╡─▓┐├┼'
  8. @ 3,29 say '============='
  9. @ 5,15 say '╓▒╩⌠--------------- 1'
  10. @ 5,45 say '╕ú└√--------------- 6'
  11. @ 7,15 say '═╦╨▌--------------- 2'
  12. @ 7,45 say '╙═╞ß--------------- 7'
  13. @ 9,15 say '╟░▓µ--------------- 3'
  14. @ 9,45 say '╗·─ú--------------- 8'
  15. @ 11,15 say '│σ╤╣--------------- 4'
  16. @ 11,45 say '╨┬▓·╞╖------------- 9'
  17. @ 13,15 say '▒╕┴╧--------------- 5'
  18. @ 13,45 say '╫▄╫░--------------- 10'
  19. @ 18,25 say '╫ó╥Γ:  ╘┌ A:┼╠(╔╧)▓σ╚δ╧α╙ª▓┐├┼╩²╛▌┐¿'
  20. @ 15,10 say '╟δ╩Σ╚δ╥¬╨▐╕─╡─▓┐├┼╡─▒α║┼' get xgbm
  21.      read
  22. if xgbm=1
  23.    store '╓▒╩⌠' to w1
  24. endif
  25. if xgbm=2
  26.    store '═╦╨▌' to w1
  27. endif
  28. if xgbm=3
  29.    store '╟░▓µ' to w1
  30. endif
  31. if xgbm=4
  32.    store '│σ╤╣' to w1
  33. endif
  34. if xgbm=5
  35.    store '▒╕┴╧' to w1
  36. endif
  37. if xgbm=6
  38.    store '╕ú└√' to w1
  39. endif
  40. if xgbm=7
  41.    store '╙═╞ß' to w1
  42. endif
  43. if xgbm=8
  44.    store '╗·─ú' to w1
  45. endif
  46. if xgbm=9
  47.    store '╨┬▓·╞╖' to w1
  48. endif
  49. if xgbm=10
  50.    store '╫▄╫░' to w1
  51. endif
  52. use a:gz
  53. az1=.t.
  54. d=0
  55. clear
  56. set talk off
  57. @ 5,30 say '╟δ─·╧╚╩Σ╚δ╧┬├µ╩²╛▌'
  58. ?
  59. ?
  60. do while az1
  61. ?
  62. input '╔╧╘┬╚½╘┬╡─╣ñ╫≈╚╒╩╟:  ' to ygzr
  63. ?
  64. accept '       ╩Σ╚δ╡─╣ñ╫≈╚╒╢╘┬≡(y/n)?  ' to zz
  65. if zz='y'.or.zz='Y'
  66.    az1=.f.
  67. endif
  68. enddo
  69. replace all ╘┬╖▌ with mo2
  70. clear
  71. set talk off
  72. store .t. to b
  73. do while b
  74. clear
  75. @ 1,30 say '╨▐╕─╣ñ╫╩╘¡╩╝╩²╛▌╟σ╡Ñ'
  76. @ 2,29 say '====================='
  77. @ 4,15 say '╨▐╕─╗∙▒╛╣ñ╫╩-------- 1'
  78. @ 4,45 say '╨▐╕─╟σ╥√------------ 11'
  79. @ 5,15 say '╨▐╕─┴╕▓ε------------ 2'
  80. @ 5,45 say '╨▐╕─═╨╖╤------------ 12'
  81. @ 06,15 say '╨▐╕─╬∩╠√------------ 3'
  82. @ 06,45 say '╨▐╕─╖┐╫Γ------------ 13'
  83. @ 07,15 say '╨▐╕─╚²╓╓▓╣╠∙-------- 4'
  84. @ 07,45 say '╨▐╕─▒ú╜í╖╤---------- 14'
  85. @ 08,15 say '╨▐╕─▓╣│╡╖╤---------- 5'
  86. @ 08,45 say '╨▐╕─┐█│╡╖╤---------- 15'
  87. @ 09,15 say '╨▐╕─┤ó╜≡------------ 6'
  88. @ 09,45 say '╨▐╕─╡µ┐ε------------ 16'
  89. @ 10,15 say '╨▐╕─╣·┐Γ------------ 7'
  90. @ 10,45 say '╨▐╕─▒ú╧╒╜≡---------- 17'
  91. @ 11,15 say '╨▐╕─▓í,╩┬,┐⌡,╨▌╠∞╩²- 8'
  92. @ 11,45 say '╨▐╕─╥╣▓═------------ 18'
  93. @ 12,15 say '╨▐╕─▓╣╖ó------------ 9'
  94. @ 12,45 say '╨▐╕─╥⌐╖╤------------ 19'
  95. @ 13,15 say '╨▐╕─╢α╧ε------------ 10'
  96. @ 13,45 say '╨▐╕─╕í╢»------------ 20'
  97. @ 14,45 say '═╦│÷---------------- 21'
  98. @ 16,10 say '╟δ╩Σ╚δ─·╥¬╤í╘±╡─╣ª─▄▒α║┼' get d
  99.      read
  100. do case
  101.    case d=1
  102.         bh=0
  103.         jbgz=0
  104.         clear
  105.         aa=.t.
  106.         do while aa
  107.         input '╟δ╩Σ╚δ╥¬╨▐╕─╗∙▒╛╣ñ╫╩╡─╓░╣ñ▒α║┼:  ' to bh
  108.         go bh
  109.         ?
  110.         list next 1 ╨╒├√,╗∙▒╛╣ñ╫╩ for bh=▒α║┼
  111.         ?
  112.         ?
  113.         input '╧╓╗∙▒╛╣ñ╫╩╕─╬¬:  ' to jbgz
  114.         replace next 1 ╗∙▒╛╣ñ╫╩ with jbgz for bh=▒α║┼
  115.         ?
  116.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦ⁿ╓░╣ñ╡─╗∙▒╛╣ñ╫╩(y/n)? ' to cc
  117.         ?
  118.         if cc='n'.or.cc='N'
  119.            aa=.f.
  120.         endif
  121.         enddo
  122.    case d=2
  123.         e=0
  124.         clear
  125.         @ 10,30 say '┴╕▓ε═│╥╗╕─╬¬: ' get e
  126.              read
  127.         replace all ┴╕▓ε with e
  128.    case d=3
  129.         f=0.00
  130.         clear
  131.         @ 10,30 say '╬∩╠∙═│╥╗╕─╬¬: ' get f
  132.              read
  133.         replace all ╬∩╠∙ with f
  134.    case d=4
  135.         g=0
  136.         clear
  137.         @ 10,30 say '╚²╓╓▓╣╠∙═│╥╗╕─╬¬: ' get g
  138.              read
  139.         replace all ╚²╠∙ with g
  140.    case d=5
  141.         bh=0
  142.         bcf=0
  143.         clear
  144.         ad=.t.
  145.         do while ad
  146.         input '╟δ╩Σ╚δ─·╥¬╨▐╕─▓╣│╡╖╤╡─╓░╣ñ▒α║┼:  ' to bh
  147.         go bh
  148.         ?
  149.         list next 1 ╨╒├√,▓╣│╡╖╤ for bh=▒α║┼
  150.         ?
  151.         ?
  152.         input '╧╓▓╣│╡╖╤╕─╬¬:  ' to bcf
  153.         replace next 1 ▓╣│╡╖╤ with bcf for bh=▒α║┼
  154.         ?
  155.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─▓╣│╡╖╤(y/n)?  ' to ae
  156.         ?
  157.         if ae='n'.or.ae='N'
  158.            ad=.f.
  159.         endif
  160.         enddo
  161.    case d=6
  162.         bh=0
  163.         cj=0
  164.         clear
  165.         ah=.t.
  166.         do while ah
  167.         input '╟δ╩Σ╚δ─·╥¬╨▐╕─┤ó╜≡╡─╓░╣ñ▒α║┼:  ' to bh
  168.         go bh
  169.         ?
  170.         list next 1 ╨╒├√,┤ó╜≡ for bh=▒α║┼
  171.         ?
  172.         ?
  173.         input '╧╓┤ó╜≡╕─╬¬:  ' to cj
  174.         replace next 1 ┤ó╜≡ with cj for bh=▒α║┼
  175.         ?
  176.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─┤ó╜≡(y/n)?  ' to aj
  177.         ?
  178.         if aj='n'.or.aj='N'
  179.            ah=.f.
  180.         endif
  181.         enddo
  182.    case d=7
  183.         clear
  184.         go top
  185.         do while .not.eof()
  186.         store recno() to rno
  187.         go rno
  188.         ?
  189.         list next 1 ╨╒├√,╣·┐Γ for ▒α║┼=rno
  190.         ?
  191.         input '╣·┐Γ╩╟: ' to gk
  192.         replace next 1 ╣·┐Γ with gk for ▒α║┼=rno
  193.         skip
  194.         enddo
  195.    case d=8
  196.         u=0
  197.         v=0
  198.         y=0
  199.         w=0
  200.         x=0
  201.         lb=0
  202.         klb=0
  203.         kbj=0
  204.         yfs=0
  205.         zkk=0
  206.         sfs=0
  207.         bh=0
  208.         clear
  209.         rr=.t.
  210.         do while rr
  211.         input '╟δ╩Σ╚δ╥¬╨▐╕─▓í,╩┬,┐⌡,╨▌╠∞╩²╡─╓░╣ñ▒α║┼:  ' to bh
  212.         rrr=.t.
  213.         do while rrr
  214.         go bh
  215.         store ╗∙▒╛╣ñ╫╩ to jbgz
  216.         ?
  217.         list next 1 ╨╒├√ for bh=▒α║┼
  218.         ?
  219.         ?
  220.         input '╩┬╝┘╢α╔┘╠∞?  ' to u
  221.         input '▓í╝┘╢α╔┘╠∞?  ' to v
  222.         input '┐⌡╣ñ╢α╔┘╠∞?  ' to y
  223.         input '└═▒ú╢α╔┘╠∞?  ' to lb
  224.         input '╗Θú¼╔Ñú¼▓·ú¼╠╜╟╫╝┘╗≥╣ñ╔╦╢α╔┘╠∞?  ' to w
  225.         ?
  226.         ?
  227.         accept '╩Σ╚δ╡─╩²╛▌╢╘┬≡(y/n)?   ' to rrrr
  228.         if rrrr='y'.or.rrrr='Y'
  229.            rrr=.f.
  230.         endif
  231.         enddo
  232.         replace next 1 ╩┬╝┘╠∞╩² with u for bh=▒α║┼
  233.         replace next 1 ▓í╝┘╠∞╩² with v for bh=▒α║┼
  234.         if ╣ñ╓╓<>'╤º═╜'
  235.         replace next 1 ╩┬╝┘ with jbgz/ygzr*u+jbgz/ygzr*y for bh=▒α║┼
  236.         klb=jbgz/ygzr*lb
  237.         if yy-╚δ│º─Ω╘┬<2
  238.            kbj=jbgz/ygzr*v*0.4
  239.         endif
  240.         if yy-╚δ│º─Ω╘┬>=2.and.yy-╚δ│º─Ω╘┬<4
  241.            kbj=jbgz/ygzr*v*0.3
  242.         endif
  243.         if yy-╚δ│º─Ω╘┬>=4.and.yy-╚δ│º─Ω╘┬<6
  244.            kbj=jbgz/ygzr*v*0.2
  245.         endif
  246.         if yy-╚δ│º─Ω╘┬>=6.and.yy-╚δ│º─Ω╘┬<8
  247.            kbj=jbgz/ygzr*v*0.1
  248.         endif
  249.         if yy-╚δ│º─Ω╘┬>=8
  250.            kbj=0
  251.         endif
  252.         replace next 1 ▓í╝┘ with klb+kbj for bh=▒α║┼
  253.         endif
  254.         if ╣ñ╓╓='╤º═╜'
  255.         replace next 1 ╩┬╝┘ with jbgz/ygzr*y for bh=▒α║┼
  256.         endif
  257.         u1=round(u,0)
  258.         v1=round(v,0)
  259.         w11=round(w,0)
  260.         if u1<u
  261.            u11=22*0.1*(u1+0.5)
  262.         endif
  263.         if u1>=u
  264.            u11=22*0.1*u1
  265.         endif
  266.         if v1<v
  267.            v11=22/ygzr*(v1+0.5)
  268.         endif
  269.         if v1>=v
  270.            v11=22/ygzr*v1
  271.         endif
  272.         if w11<w
  273.            w111=0.5*(w11+0.5+lb)
  274.         endif
  275.         if w11>=w
  276.            w111=0.5*(w11+lb)
  277.         endif
  278.         szbt=22-u11-v11-w111
  279.         if szbt<0.or.y>0
  280.            szbt=0
  281.         endif
  282.         replace next 1 ╚²╠∙ with szbt for bh=▒α║┼
  283.         if u>13.and.u<ygzr
  284.            replace next 1 ┴╕▓ε with ┴╕▓ε/2,╬∩╠∙ with ╬∩╠∙/2 for bh=▒α║┼
  285.         endif
  286.         if y>=1.and.y<2
  287.            replace next 1 ╬∩╠∙ with ╬∩╠∙-10 for bh=▒α║┼
  288.         endif
  289.         if y>=2.and.y<3
  290.            replace next 1 ╬∩╠∙ with ╬∩╠∙-20 for bh=▒α║┼
  291.         endif
  292.         if u>=ygzr.or.y>=3
  293.            replace next 1 ┴╕▓ε with 0,╬∩╠∙ with 0 for bh=▒α║┼
  294.         endif
  295.         if ┴╕▓ε<0.or.╬∩╠∙<0
  296.            replace next 1 ┴╕▓ε with 0,╬∩╠∙ with 0 for bh=▒α║┼
  297.         endif
  298.         if u+v+y+w+lb>=ygzr/2
  299.            replace next 1 ╟σ╥√ with ╟σ╥√/2 for bh=▒α║┼
  300.         endif
  301.         if u+v+y+w+lb>=ygzr
  302.            replace next 1 ╟σ╥√ with 0 for bh=▒α║┼
  303.         endif
  304.         if u+v+y+w+lb>=20
  305.            replace next 1 ▓╣│╡╖╤ with 0 for bh=▒α║┼
  306.            replace next 1 ┐█│╡╖╤ with 0 for bh=▒α║┼
  307.         endif
  308.         yfs=╗∙▒╛╣ñ╫╩+┴╕▓ε+╬∩╠∙+╥╣▓═+▓╣╖ó+▓╣│╡╖╤+╚²╠∙+▒ú╜í+╟σ╥√+╕í╢»-╩┬╝┘-▓í╝┘
  309.         zkk=╥⌐╖╤+╖┐╫Γ+═╨╖╤+┐█│╡╖╤+┤ó╜≡+╡µ┐ε+╣·┐Γ+▒ú╧╒
  310.         sfs=yfs-zkk
  311.         if sfs<0
  312.            replace next 1 ╥⌐╖╤ with 0,╖┐╫Γ with 0,═╨╖╤ with 0,┐█│╡╖╤ with 0,┤ó╜≡ with 0,╡µ┐ε with 0,╣·┐Γ with 0,▒ú╧╒ with 0 for bh=▒α║┼
  313.         endif
  314.         ?
  315.         ?
  316.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─▓í,╩┬,┐⌡,╨▌╒Γ╝╕╧ε(y/n)?  ' to uv
  317.         ?
  318.         if uv='n'.or.uv='N'
  319.            rr=.f.
  320.         endif
  321.         ?'***************************************************'
  322.         enddo
  323.    case d=9
  324.         bh=0
  325.         bf=0
  326.         clear
  327.         am1=.t.
  328.         do while am1
  329.         input '╟δ╩Σ╚δ─·╥¬╨▐╕─▓╣╖ó╡─╓░╣ñ▒α║┼:  ' to bh
  330.         go bh
  331.         ?
  332.         list next 1 ╨╒├√,▓╣╖ó for bh=▒α║┼
  333.         ?
  334.         ?
  335.         input '╧╓▓╣╖ó╕─╬¬:  ' to bf
  336.         replace next 1 ▓╣╖ó with bf for bh=▒α║┼
  337.         ?
  338.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─▓╣╖ó(y/n)?  ' to an
  339.         ?
  340.         if an='n'.or.an='N'
  341.            am1=.f.
  342.         endif
  343.         enddo
  344.    case d=10
  345.         clear
  346.         am11=.t.
  347.         do while am11
  348.         bh=0
  349.         an1='      '
  350.         clear
  351.         @ 2,10 say '╟δ╩Σ╚δ─·╥¬╨▐╕─╢α╧ε╡─╓░╣ñ▒α║┼:  ' get bh
  352.         read
  353.         go bh
  354.         if ▓┐├┼<>'═╦╨▌'
  355.         @ 5,3 say '╘┬╖▌'
  356.         @ 5,16 get ╘┬╖▌
  357.         @ 6,3 say '▒α║┼'
  358.         @ 6,16 get ▒α║┼
  359.         @ 7,3 say '╨╒├√'
  360.         @ 7,16 get ╨╒├√
  361.         @ 8,3 say '╗∙▒╛╣ñ╫╩'
  362.         @ 8,16 get ╗∙▒╛╣ñ╫╩
  363.         @ 9,3 say '╩┬╝┘╠∞╩²'
  364.         @ 9,16 get ╩┬╝┘╠∞╩²
  365.         @ 10,3 say '╩┬╝┘'
  366.         @ 10,16 get ╩┬╝┘
  367.         @ 11,3 say '▓í╝┘╠∞╩²'
  368.         @ 11,16 get ▓í╝┘╠∞╩²
  369.         @ 12,3 say '▓í╝┘'
  370.         @ 12,16 get ▓í╝┘
  371.         @ 13,3 say '┴╕▓ε'
  372.         @ 13,16 get ┴╕▓ε
  373.         @ 14,3 say '╬∩╠∙'
  374.         @ 14,16 get ╬∩╠∙
  375.         @ 15,3 say '╥╣▓═'
  376.         @ 15,16 get ╥╣▓═
  377.         @ 5,28 say '▓╣╖ó'
  378.         @ 5,41 get ▓╣╖ó
  379.         @ 6,28 say '▓╣│╡╖╤'
  380.         @ 6,41 get ▓╣│╡╖╤
  381.         @ 7,28 say '╚²╠∙'
  382.         @ 7,41 get ╚²╠∙
  383.         @ 8,28 say '▒ú╜í'
  384.         @ 8,41 get ▒ú╜í
  385.         @ 9,28 say '╟σ╥√'
  386.         @ 9,41 get ╟σ╥√
  387.         @ 10,28 say '╕í╢»'
  388.         @ 10,41 get ╕í╢»
  389.         @ 11,28 say '╙ª╖ó╩²'
  390.         @ 11,41 get ╙ª╖ó╩²
  391.         @ 12,28 say '╥⌐╖╤'
  392.         @ 12,41 get ╥⌐╖╤
  393.         @ 13,28 say '╖┐╫Γ'
  394.         @ 13,41 get ╖┐╫Γ
  395.         @ 14,28 say '═╨╖╤'
  396.         @ 14,41 get ═╨╖╤
  397.         @ 15,28 say '┐█│╡╖╤'
  398.         @ 15,41 get ┐█│╡╖╤
  399.         @ 16,28 say '┤ó╜≡'
  400.         @ 16,41 get ┤ó╜≡
  401.         @ 5,53 say '╡µ┐ε'
  402.         @ 5,66 get ╡µ┐ε
  403.         @ 6,53 say '╣·┐Γ'
  404.         @ 6,66 get ╣·┐Γ
  405.         @ 7,53 say '▒ú╧╒'
  406.         @ 7,66 get ▒ú╧╒
  407.         @ 8,53 say '╫▄┐█┐ε'
  408.         @ 8,66 get ╫▄┐█┐ε
  409.         @ 9,53 say '╩╡╖ó╩²'
  410.         @ 9,66 get ╩╡╖ó╩²
  411.         @ 10,53 say '┴∞┐ε╚╦'
  412.         @ 10,66 get ┴∞┐ε╚╦
  413.         @ 11,53 say '╦∙╙╨╓╞'
  414.         @ 11,66 get ╦∙╙╨╓╞
  415.         @ 12,53 say '╚δ│º─Ω╘┬'
  416.         @ 12,66 get ╚δ│º─Ω╘┬
  417.         @ 13,53 say '▓┐├┼'
  418.         @ 13,66 get ▓┐├┼
  419.         @ 14,53 say '░α╫Θ'
  420.         @ 14,66 get ░α╫Θ
  421.         @ 15,53 say '╣ñ╓╓'
  422.         @ 15,66 get ╣ñ╓╓
  423.              read
  424.         replace next 1 ▒α║┼ with ▒α║┼,╘┬╖▌ with ╘┬╖▌,╨╒├√ with ╨╒├√,╗∙▒╛╣ñ╫╩ with ╗∙▒╛╣ñ╫╩,╩┬╝┘╠∞╩² with ╩┬╝┘╠∞╩²,╩┬╝┘ with ╩┬╝┘,▓í╝┘╠∞╩² with ▓í╝┘╠∞╩²,▓í╝┘ with ▓í╝┘
  425.         replace next 1 ┴╕▓ε with ┴╕▓ε,╬∩╠∙ with ╬∩╠∙,╥╣▓═ with ╥╣▓═,▓╣╖ó with ▓╣╖ó,▓╣│╡╖╤ with ▓╣│╡╖╤,╚²╠∙ with ╚²╠∙,▒ú╜í with ▒ú╜í,╟σ╥√ with ╟σ╥√,╕í╢» with ╕í╢»,╙ª╖ó╩² with ╙ª╖ó╩²
  426.         replace next 1 ╥⌐╖╤ with ╥⌐╖╤,╖┐╫Γ with ╖┐╫Γ,═╨╖╤ with ═╨╖╤,┐█│╡╖╤ with ┐█│╡╖╤,┤ó╜≡ with ┤ó╜≡,╡µ┐ε with ╡µ┐ε,╣·┐Γ with ╣·┐Γ,▒ú╧╒ with ▒ú╧╒,╫▄┐█┐ε with ╫▄┐█┐ε
  427.         replace next 1 ┴∞┐ε╚╦ with ┴∞┐ε╚╦,╦∙╙╨╓╞ with ╦∙╙╨╓╞,╚δ│º─Ω╘┬ with ╚δ│º─Ω╘┬,▓┐├┼ with ▓┐├┼,░α╫Θ with ░α╫Θ,╣ñ╓╓ with ╣ñ╓╓
  428.         endif
  429.         if ▓┐├┼='═╦╨▌'
  430.         @ 5,3 say '╘┬╖▌'
  431.         @ 5,16 get ╘┬╖▌
  432.         @ 6,3 say '▒α║┼'
  433.         @ 6,16 get ▒α║┼
  434.         @ 7,3 say '╨╒├√'
  435.         @ 7,16 get ╨╒├√
  436.         @ 8,3 say '╗∙▒╛╣ñ╫╩'
  437.         @ 8,16 get ╗∙▒╛╣ñ╫╩
  438.         @ 9,3 say '┴╕▓ε'
  439.         @ 9,16 get ┴╕▓ε
  440.         @ 10,3 say '╬∩╠∙'
  441.         @ 10,16 get ╬∩╠∙
  442.         @ 11,3 say '▓╣╖ó'
  443.         @ 11,16 get ▓╣╖ó
  444.         @ 12,3 say '╚²╠∙'
  445.         @ 12,16 get ╚²╠∙
  446.         @ 5,28 say '╙ª╖ó╩²'
  447.         @ 5,41 get ╙ª╖ó╩²
  448.         @ 6,28 say '╥⌐╖╤'
  449.         @ 6,41 get ╥⌐╖╤
  450.         @ 7,28 say '╖┐╫Γ'
  451.         @ 7,41 get ╖┐╫Γ
  452.         @ 8,28 say '╡µ┐ε'
  453.         @ 8,41 get ╡µ┐ε
  454.         @ 9,28 say '╫▄┐█┐ε'
  455.         @ 9,41 get ╫▄┐█┐ε
  456.         @ 10,28 say '╩╡╖ó╩²'
  457.         @ 10,41 get ╩╡╖ó╩²
  458.         @ 11,28 say '╦∙╙╨╓╞'
  459.         @ 11,41 get ╦∙╙╨╓╞
  460.         @ 12,28 say '▓┐├┼'
  461.         @ 12,41 get ▓┐├┼
  462.              read
  463.         replace next 1 ▒α║┼ with ▒α║┼,╘┬╖▌ with ╘┬╖▌,╨╒├√ with ╨╒├√,╗∙▒╛╣ñ╫╩ with ╗∙▒╛╣ñ╫╩
  464.         replace next 1 ┴╕▓ε with ┴╕▓ε,╬∩╠∙ with ╬∩╠∙,▓╣╖ó with ▓╣╖ó,╚²╠∙ with ╚²╠∙,╙ª╖ó╩² with ╙ª╖ó╩²
  465.         replace next 1 ╥⌐╖╤ with ╥⌐╖╤,╖┐╫Γ with ╖┐╫Γ,╡µ┐ε with ╡µ┐ε,╫▄┐█┐ε with ╫▄┐█┐ε
  466.         replace next 1 ╦∙╙╨╓╞ with ╦∙╙╨╓╞,▓┐├┼ with ▓┐├┼
  467.         endif
  468.         @ 18,20 say '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─╢α╧ε(y/n)?  ' get an1
  469.         read
  470.         if an1='n'.or.an1='N'
  471.            am11=.f.
  472.         endif
  473.         enddo
  474.    case d=11
  475.         clear
  476.         go top
  477.         do while .not.eof()
  478.         store recno() to rno
  479.         go rno
  480.         ?
  481.         list next 1 ╨╒├√,╟σ╥√ for ▒α║┼=rno
  482.         ?
  483.         input '╟σ╥√╩╟: ' to qy
  484.         replace next 1 ╟σ╥√ with qy for ▒α║┼=rno
  485.         skip
  486.         enddo
  487.    case d=12
  488.         m='         '
  489.         clear
  490.         @ 6,30 say '╨▐╕─═╨╖╤╡─└α╨═'
  491.         @ 7,29 say '==============='
  492.         @ 10,25 say '╚í╧√═╨╖╤---------------- 1'
  493.         @ 13,25 say '═│╥╗╕─═╨╖╤-------------- 2'
  494.         @ 16,25 say '╨┬╘÷═╨╖╤---------------- 3'
  495.         @ 19,25 say '═╦│÷-------------------- 4'
  496.         @ 21,20 say '╟δ╩Σ╚δ─·╥¬╤í╘±╡─╣ª─▄▒α║┼:' get m
  497.              read
  498.         if m='1'
  499.            bh=0
  500.            clear
  501.            hh=.t.
  502.            do while hh
  503.            input '╟δ╩Σ╚δ─·╥¬╚í╧√═╨╖╤╡─╓░╣ñ▒α║┼:  ' to bh
  504.            go bh
  505.            ?
  506.            list next 1 ╨╒├√,═╨╖╤ for bh=▒α║┼
  507.            ?
  508.            store 0 to xx
  509.            replace next 1 ═╨╖╤ with xx for bh=▒α║┼
  510.            accept '╩╟╖±╗╣╥¬╚í╧√╞Σ╦√╓░╣ñ╡─═╨╖╤(y/n)?  ' to p
  511.            ?
  512.            ?
  513.            if p='n'.or.p='N'
  514.               hh=.f.
  515.            endif
  516.            enddo
  517.         endif
  518.         if m='2'
  519.            jj=0
  520.            clear
  521.            @ 10,30 say '═╨╖╤═│╥╗╕─╬¬:   ' get jj
  522.                 read
  523.            replace all ═╨╖╤ with jj for ═╨╖╤<>0
  524.         endif
  525.         if m='3'
  526.            bh=0
  527.            q=0
  528.            clear
  529.            kk=.t.
  530.            do while kk
  531.            input '╟δ╩Σ╚δ─·╥¬╨┬╘÷═╨╖╤╡─╓░╣ñ▒α║┼:  ' to bh
  532.            go bh
  533.            ?
  534.            list next 1 ╨╒├√,═╨╖╤ for bh=▒α║┼
  535.            ?
  536.            input '╨┬╘÷╓░╣ñ═╨╖╤╬¬:  ' to q
  537.            ?
  538.            replace next 1 ═╨╖╤ with q for bh=▒α║┼
  539.            accept '╩╟╖±╗╣╥¬╘÷╝╙╨┬╘÷╓░╣ñ═╨╖╤(y/n)?  ' to r
  540.            ?
  541.            if r='n'.or.r='N'
  542.               kk=.f.
  543.            endif
  544.            enddo
  545.         endif
  546.         if m='4'
  547.            ? '═╦│÷'
  548.         endif
  549.    release m,kk,r,q,bh,jj,hh,p,xx
  550.    case d=13
  551.         bh=0
  552.         clear
  553.         pp=.t.
  554.         do while pp
  555.         input '╟δ╩Σ╚δ╥¬╨▐╕─╖┐╫Γ╡─╓░╣ñ▒α║┼:  ' to bh
  556.         go bh
  557.         ?
  558.         list next 1 ╨╒├√,╖┐╫Γ for bh=▒α║┼
  559.         ?
  560.         input '╧╓╖┐╫Γ╕─╬¬:  ' to fz
  561.         ?
  562.         replace next 1 ╖┐╫Γ with fz for bh=▒α║┼
  563.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─╖┐╫Γ(y/n)?  ' to qq
  564.         ?
  565.         if qq='n'.or.qq='N'
  566.            pp=.f.
  567.         endif
  568.         enddo
  569.    case d=14
  570.         j='          '
  571.         clear
  572.         @ 8,30 say '╨▐╕─▒ú╜í╖╤╡─└α╨═'
  573.         @ 9,29 say '================='
  574.         @ 12,25 say '═│╥╗╨▐╕─▒ú╜í╖╤------------------- 1'
  575.         @ 15,25 say '╓╗╨▐╕─╕÷▒≡╓░╣ñ╡─▒ú╜í╖╤----------- 2'
  576.         @ 18,25 say '═╦│÷----------------------------- 3'
  577.         @ 21,25 say '╟δ╩Σ╚δ─·╥¬╤í╘±╡─╣ª─▄▒α║┼:' get j
  578.              read
  579.         if j='1'
  580.            k=0
  581.            clear
  582.            @ 10,30 say '▒ú╜í╖╤═│╥╗╕─╬¬:' get k
  583.                 read
  584.            replace all ▒ú╜í with k for ▒ú╜í<>0
  585.         endif
  586.         if j='2'
  587.            bh=0
  588.            bgf=0
  589.            clear
  590.            ee=.t.
  591.            do while ee
  592.            input '╟δ╩Σ╚δ─·╥¬╨▐╕─▒ú╜í╖╤╡─╓░╣ñ▒α║┼:  ' to bh
  593.            go bh
  594.            ?
  595.            list next 1 ╨╒├√,▒ú╜í for bh=▒α║┼
  596.            ?
  597.            input '╧╓▒ú╜í╖╤╕─╬¬:  ' to bgf
  598.            replace next 1 ▒ú╜í with bgf for bh=▒α║┼
  599.            ?
  600.            accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─▒ú╜í╖╤(y/n)?  ' to l
  601.            ?
  602.            if l='n'.or.l='N'
  603.               ee=.f.
  604.            endif
  605.            enddo
  606.         endif
  607.         if j='3'
  608.            ? '═╦│÷'
  609.         endif
  610.         release j,ee,l,bh,k,bgf
  611.    case d=15
  612.         bh=0
  613.         kcf=0
  614.         clear
  615.         af=.t.
  616.         do while af
  617.         input '╟δ╩Σ╚δ╥¬╨▐╕─┐█│╡╖╤╡─╓░╣ñ▒α║┼:   ' to bh
  618.         go bh
  619.         ?
  620.         list next 1 ╨╒├√,┐█│╡╖╤ for bh=▒α║┼
  621.         ?
  622.         input '╧╓┐█│╡╖╤╕─╬¬:  ' to kcf
  623.         replace next 1 ┐█│╡╖╤ with kcf for bh=▒α║┼
  624.         ?
  625.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─┐█│╡╖╤(y/n)?   ' to ag
  626.         ?
  627.         if ag='n'.or.ag='N'
  628.            af=.f.
  629.         endif
  630.         enddo
  631.    case d=16
  632.         bh=0
  633.         dk=0
  634.         clear
  635.         ak=.t.
  636.         do while ak
  637.         input '╟δ╩Σ╚δ╥¬╨▐╕─╡µ┐ε╡─╓░╣ñ▒α║┼:  ' to bh
  638.         go bh
  639.         ?
  640.         list next 1 ╨╒├√,╡µ┐ε for bh=▒α║┼
  641.         ?
  642.         input '╧╓╡µ┐ε╕─╬¬:  ' to dk
  643.         replace next 1 ╡µ┐ε with dk for bh=▒α║┼
  644.         ?
  645.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─╡µ┐ε(y/n)?  ' to al
  646.         ?
  647.         if al='n'.or.al='N'
  648.            ak=.f.
  649.         endif
  650.         enddo
  651.    case d=17
  652.         bh=0
  653.         bxg=0
  654.         clear
  655.         ap=.t.
  656.         do while ap
  657.         input '╟δ╩Σ╚δ╥¬╨▐╕─▒ú╧╒╜≡╡─╓░╣ñ▒α║┼:  ' to bh
  658.         go bh
  659.         ?
  660.         list next 1 ╨╒├√,▒ú╧╒ for bh=▒α║┼
  661.         ?
  662.         input '╧╓▒ú╧╒╜≡╕─╬¬:  ' to bxg
  663.         replace next 1 ▒ú╧╒ with bxg for bh=▒α║┼
  664.         ?
  665.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─▒ú╧╒╜≡(y/n)?  ' to aq
  666.         ?
  667.         if aq='n'.or.aq='N'
  668.            ap=.f.
  669.         endif
  670.         enddo
  671.    case d=18
  672.         clear
  673.         go top
  674.         do while .not.eof()
  675.         store recno() to rno
  676.         go rno
  677.         ?
  678.         list next 1 ╨╒├√,╥╣▓═ for ▒α║┼=rno
  679.         ?
  680.         input '╥╣░α╢α╔┘╠∞:  ' to yb
  681.         replace next 1 ╥╣▓═ with 1.5*yb for ▒α║┼=rno
  682.         skip
  683.         enddo
  684.    case d=19
  685.         bh=0
  686.         yf=0
  687.         clear
  688.         am2=.t.
  689.         do while am2
  690.         input '╟δ╩Σ╚δ─·╥¬╨▐╕─╥⌐╖╤╡─╓░╣ñ▒α║┼:  ' to bh
  691.         go bh
  692.         ?
  693.         list next 1 ╨╒├√,╥⌐╖╤ for bh=▒α║┼
  694.         ?
  695.         ?
  696.         input '╧╓╥⌐╖╤╕─╬¬:  ' to yf
  697.         replace next 1 ╥⌐╖╤ with yf for bh=▒α║┼
  698.         ?
  699.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─╥⌐╖╤(y/n)?  ' to an
  700.         ?
  701.         if an='n'.or.an='N'
  702.            am2=.f.
  703.         endif
  704.         enddo
  705.    case d=20
  706.         bh=0
  707.         fdgz=0
  708.         clear
  709.         fd1=.t.
  710.         do while fd1
  711.         input '╟δ╩Σ╚δ╥¬╨▐╕─╕í╢»╣ñ╫╩╡─╓░╣ñ▒α║┼:  ' to bh
  712.         go bh
  713.         ?
  714.         list next 1 ╨╒├√,╕í╢» for bh=▒α║┼
  715.         ?
  716.         ?
  717.         input '╧╓╕í╢»╣ñ╫╩╕─╬¬:  ' to fdgz
  718.         replace next 1 ╕í╢» with fdgz for bh=▒α║┼
  719.         ?
  720.         accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦ⁿ╓░╣ñ╡─╕í╢»╣ñ╫╩(y/n)? ' to fd2
  721.         ?
  722.         if fd2='n'.or.fd2='N'
  723.            fd1=.f.
  724.         endif
  725.         enddo
  726.    case d=21
  727.        if w1='╓▒╩⌠'.or.w1='╕ú└√'.or.w1='╟░▓µ'.or.w1='│σ╤╣'.or.w1='╙═╞ß'.or.w1='▒╕┴╧'.or.w1='╗·─ú'.or.w1='╨┬▓·╞╖'.or.w1='╫▄╫░'
  728.            replace all ╙ª╖ó╩² with ╗∙▒╛╣ñ╫╩+┴╕▓ε+╬∩╠∙+╥╣▓═+▓╣╖ó+▓╣│╡╖╤+╚²╠∙+▒ú╜í+╟σ╥√+╕í╢»-╩┬╝┘-▓í╝┘
  729.            replace all ╫▄┐█┐ε with ╥⌐╖╤+╖┐╫Γ+═╨╖╤+┐█│╡╖╤+┤ó╜≡+╡µ┐ε+╣·┐Γ+▒ú╧╒
  730.            replace all ╩╡╖ó╩² with ╙ª╖ó╩²-╫▄┐█┐ε
  731.         endif
  732.         if w1='═╦╨▌'
  733.            replace all ╙ª╖ó╩² with ╗∙▒╛╣ñ╫╩+┴╕▓ε+╬∩╠∙+▓╣╖ó+╚²╠∙
  734.            replace all ╫▄┐█┐ε with ╥⌐╖╤+╖┐╫Γ+╡µ┐ε
  735.            replace all ╩╡╖ó╩² with ╙ª╖ó╩²-╫▄┐█┐ε
  736.         endif
  737. store .f. to b
  738. endcase
  739. enddo
  740. release all
  741. use
  742. return
  743.  
  744.