home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / b / b034 / gz.img / CBHS-7.PRG < prev    next >
Encoding:
Text File  |  1991-08-19  |  5.0 KB  |  181 lines

  1. *│╔▒╛║╦╦π╫╙│╠╨≥╓«╞▀:CBHS-7.PRG
  2. set talk off
  3. clear
  4. xgxm=0
  5. set scoreboard off
  6. set status off
  7. @ 5,25 say '╨▐╕─╧ε─┐└α╨═'
  8. @ 6,25 say '============'
  9. @ 8,20 say '░δ│╔╞╖╢¿╢ε╝╞╦π▒φ ----- 1'
  10. @ 10,20 say '╗∙▒╛╔·▓·╖╓┼Σ▒φ ------- 2'
  11. @ 12,20 say '▓·╞╖│╔▒╛╝╞╦π▒φ ------- 3'
  12. @ 14,20 say '╟δ╩Σ╚δ╢╘╙ª╧ε─┐: ' get xgxm
  13.      read
  14. do case
  15.    case xgxm=1
  16.    cc='    '
  17.    dd=.t.
  18.    do while dd
  19.    bh=0
  20.    mc1='             '
  21.    pp1=0.0000
  22.    pp2=0.0000
  23.    pp3=0.0000
  24.    pp4=0.0000
  25.    pp5=0.0000
  26.    pp6=0.0000
  27.    pp7=0.0000
  28.    pp8=0.0000
  29.    pp9=0.0000
  30.    pp10=0.0000
  31.    pp11=0.0000
  32.    pp12=0.0000
  33.    pp13=0.0000
  34.    pp14=0.0000
  35.    pp15=0.0000
  36.    pp16=0.0000
  37.    clear
  38.    @ 2,30 say '╟δ╨▐╕─╧┬├µ╡─▓·╞╖├√│╞'
  39.    @ 3,30 say '===================='
  40.    do &qbl12
  41.    clear
  42.    @ 5,30 say '╟δ╩Σ╚δ▓·╞╖├√│╞╝░╩²╛▌'
  43.    @ 6,30 say '===================='
  44.    @ 8,5 say '▓·╞╖├√│╞:' get mc1 picture 'xxxxxxxxxxxx'
  45.    @ 9,5 say '║╕╣▄╢¿╢ε╡Ñ╬╗:' get pp1 picture '9.9999'
  46.    @ 10,5 say '║╕╣▄│╔▒╛╡Ñ╬╗:' get pp2 picture '99.999'
  47.    @ 11,5 say '┤°╕╓╢¿╢ε╡Ñ╬╗:' get pp3 picture '9.9999'
  48.    @ 12,5 say '┤°╕╓│╔▒╛╡Ñ╬╗:' get pp4 picture '9.9999'
  49.    @ 13,5 say '╝╙╣ñ╖╤╢¿╢ε:' get pp5 picture '9.9999'
  50.    @ 14,5 say '╕¿┴╧╢¿╢ε:' get pp6 picture '9.9999'
  51.    @ 8,45 say '╢»┴ª╢¿╢ε:' get pp7 picture '9.9999'
  52.    @ 9,45 say '╣ñ╫╩╢¿╢ε:' get pp8 picture '9.9999'
  53.    @ 10,45 say '╕ú└√╢¿╢ε:' get pp9 picture '9.9999'
  54.    @ 11,45 say '│╡╝Σ╛¡╖╤╢¿╢ε:' get pp10 picture '9.9999'
  55.    @ 12,45 say '╖╧╞╖╦≡╩º╢¿╢ε:' get pp11 picture '9.9999'
  56.    @ 13,45 say '╣▄└φ╖╤╢¿╢ε:' get pp12 picture '9.9999'
  57.    if w3='╨┬▓·╞╖'
  58.       @ 15,5 say '╞ß┴╧╢¿╢ε:' get pp13 picture '9.9999'
  59.       @ 16,5 say '═Γ╣║╝■╢¿╢ε:' get pp14 picture '9.9999'
  60.       @ 14,45 say '▓─┴╧▓ε╥∞╢¿╢ε:' get pp15 picture '99.9999'
  61.       @ 15,45 say '╚╝┴╧╢¿╢ε:' get pp16 picture '9.9999'
  62.    endif
  63.     read
  64.    use &qbl13
  65.    go bh
  66.    replace next 1 ▓·╞╖├√│╞ with mc1,╝╙╣ñ╢¿╢ε with pp5,HG┴┐╢¿╢ε with pp1,HG│╔▒╛╢¿╢ε with pp2,DG┴┐╢¿╢ε with pp3,DG│╔▒╛╢¿╢ε with pp4
  67.    replace next 1 ╕¿┴╧╢¿╢ε with pp6,╢»┴ª╢¿╢ε with pp7,╣ñ╫╩╢¿╢ε with pp8,╕ú└√╢¿╢ε with pp9,CJ╛¡╖╤╢¿╢ε with pp10,╖╧╞╖╢¿╢ε with pp11,╣▄└φ╖╤╢¿╢ε with pp12
  68.    if w3='╨┬▓·╞╖'
  69.    replace next 1 ╞ß┴╧╢¿╢ε with pp13,═Γ╣║╝■╢¿╢ε with pp14,CLCY╢¿╢ε with pp15,╚╝┴╧╢¿╢ε with pp16
  70.    endif
  71.    use
  72.    store mc1 to xg(bh+124-qbl2)
  73.    save all like xg* to &qbl10
  74.    clear
  75.    @ 10,20 say '╩╟╖±╝╠╨°╨▐╕─(Y/N)?' get cc
  76.     read
  77.    if cc='n'.or.cc='N'
  78.       dd=.f.
  79.    endif
  80.    enddo
  81.    case xgxm=2
  82.    ccc='    '
  83.    ddd=.t.
  84.    do while ddd
  85.    bh=0
  86.    xm='             '
  87.    clear
  88.    @ 2,26 say '╟δ╨▐╕─╧┬├µ╧ε─┐▒α║┼'
  89.    @ 3,26 say '=================='
  90.    do &qbl11
  91.    clear
  92.    @ 5,30 say '╟δ╩Σ╚δ╨▐╕─╧ε─┐'
  93.    @ 6,30 say '=============='
  94.    @ 8,25 say '▓·╞╖├√│╞:' get xm picture 'xxxxxxxxxxxxx'
  95.        read
  96.    use &qbl4
  97.    go bh+11
  98.    replace ╧ε─┐ with xm
  99.    use
  100.    store xm to xg(bh+116-qbl2)
  101.    save all like xg* to &qbl10
  102.    clear
  103.    @ 10,20 say '╩╟╖±╝╠╨°╨▐╕─(Y/N)?' get ccc
  104.     read
  105.    if ccc='n'.or.ccc='N'
  106.       ddd=.f.
  107.    endif
  108.    enddo
  109.    case xgxm=3
  110.    cccc='    '
  111.    dddd=.t.
  112.    do while dddd
  113.    bh=0
  114.    mc1='             '
  115.    mc2='             '
  116.    xjf='  '
  117.    zjf='  '
  118.    de1=0.00
  119.    de2=0.00
  120.    de3=0.00
  121.    de4=0.00
  122.    de5=0.00
  123.    de6=0.00
  124.    de7=0.00
  125.    de8=0.00
  126.    de9=0.00
  127.    clear
  128.    @ 1,30 say '╟δ╨▐╕─╧┬├µ╡─▓·╞╖├√│╞'
  129.    @ 2,30 say '===================='
  130.    do &qbl7
  131.    clear
  132.    @ 3,30 say '╟δ╩Σ╚δ▓·╞╖├√│╞╝░╩²╛▌'
  133.    @ 4,30 say '===================='
  134.    @ 6,5 say '▓·╞╖├√│╞:' get mc1 picture 'xxxxxxxxxxxxx'
  135.    @ 8,5 say '╨í╝╞╙├├√:' get mc2 picture 'xxxxxxxxxxxxx'
  136.    @ 10,5 say '┼Σ╠╫╨í╝╞▄▐(*):' get xjf picture 'xx'
  137.    @ 12,5 say '┼Σ╠╫╫▄╝╞▄▐(*):' get zjf picture 'xx'
  138.    @ 14,5 say '║╕╣▄╢¿╢ε╡Ñ╬╗:' get de1 picture '999.9999'
  139.    @ 16,5 say '┤°╕╓╢¿╢ε╡Ñ╬╗:' get de2 picture '999.9999'
  140.    @ 18,5 say '╞ß┴╧├µ╗²╢¿╢ε╡Ñ╬╗:' get de3 picture '99.999'
  141.    @ 6,45 say '╕¿┴╧╢¿╢ε╡Ñ╬╗:' get de4 picture '9.9999'
  142.    @ 8,45 say '═Γ╣║╢¿╢ε╡Ñ╬╗:' get de5 picture '99.999'
  143.    if w3='╨┬▓·╞╖'
  144.       @ 8,45 say '═Γ╣║╢¿╢ε╡Ñ╬╗:' get de5 picture '999.99'
  145.    endif
  146.    @ 10,45 say '╝╙╣ñ╢¿╢ε╡Ñ╬╗:' get de6 picture '9.9999'
  147.    @ 12,45 say '┤≥░ⁿ╖╤╡Ñ╬╗:' get de7 picture '9.9999'
  148.    @ 14,45 say '▓─┴╧▓ε╥∞╡Ñ╬╗:' get de8 picture '9.9999'
  149.    @ 16,45 say '╣ñ╩▒╢¿╢ε:' get de9 picture '999.999'
  150.     read
  151.    use &qbl6
  152.    go bh
  153.    if w3='╙═╞ß'
  154.    replace next 1 ▓·╞╖├√│╞ with mc1,╨í╝╞╙├├√ with mc2,┼Σ╠╫╨í╝╞▄▐ with xjf,┼Σ╠╫╫▄╝╞▄▐ with zjf
  155.    endif
  156.    if w3<>'╙═╞ß'
  157.    replace next 1 ▓·╞╖├√│╞ with mc1
  158.    endif
  159.    replace next 1 HGDE╡Ñ╬╗ with de1,DGDE╡Ñ╬╗ with de2,QLMJDE╡Ñ╬╗ with de3,FLDE╡Ñ╬╗ with de4,WGDE╡Ñ╬╗ with de5,JGDE╡Ñ╬╗ with de6,DBSJCB╡Ñ╬╗ with de7,CYSJCB╡Ñ╬╗ with de8,╣ñ╩▒╢¿╢ε with de9
  160.    use &qbl5
  161.    go bh+5
  162.    replace next 1 ╧ε─┐ with mc1
  163.    use
  164.    store mc1 to xg(bh)
  165.    set safety off
  166.    save all like xg* to &qbl10
  167.    set safety on
  168.    clear
  169.    @ 10,20 say '╩╟╖±╝╠╨°╨▐╕─(Y/N)?' get cccc
  170.     read
  171.    if cccc='n'.or.cccc='N'
  172.       dddd=.f.
  173.    endif
  174.    enddo
  175. endcase
  176. set scoreboard on
  177. set status on
  178. set talk on
  179. return
  180.  
  181.