home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / b / b077 / 1.img / SBGL.ZIP / XFX6.PRG < prev    next >
Encoding:
Text File  |  1979-12-31  |  2.9 KB  |  125 lines

  1. set talk off
  2. a0=0
  3. a1=0.00
  4. a2=0.00
  5. a3=0
  6. a4=0.00
  7. a5=0.00
  8. a61=0.00
  9. a6=0.00
  10. a7='      '
  11. clear
  12. @ 2,20 say '╖╜    ░╕    ╨≥    ║┼:' get a0
  13. @ 3,20 say '╣╠    ╢¿    │╔    ▒╛:' get a6
  14. @ 4,20 say '▒Σ    ╢»    │╔    ▒╛:' get a61
  15. @ 5,20 say '┤· ▒φ ▓· ╞╖ ─Ω ▓· ┴┐:' get a1
  16. @ 6,20 say '┤·▒φ▓·╞╖╝╞╗«╧·╩█╡Ñ╝█:' get a2
  17. read
  18. clear
  19. @ 2,20 say '╝╞╗«╗╣┤√─Ω╧▐:' get a3
  20. @ 3,20 say '─Ω ╧ó ┬╩ú¿úÑú⌐:' get a4
  21. @ 4,20 say '╧·╩█╦░┬╩ú¿úÑú⌐:' get a5
  22. @ 5,20 say '╝╞  ┴┐  ╡Ñ  ╘¬:' get a7
  23. sds=0.00
  24. qjs=0.00
  25. @ 6,20 say '╦∙╡├╦░╒╝└√╚≤╡─░┘╖╓╩²:' get sds
  26. @ 7,20 say '╡≈╜┌╦░╒╝└√╚≤╡─░┘╖╓╩²:' get qjs
  27. read
  28. clear
  29. year=0
  30. @ 4,20 say '╜¿╔Φ╣▓╨Φ─Ω╩²:' get year
  31. read
  32. ye=1
  33. use c:xfx6
  34. dele all
  35. pack
  36. appe blan
  37. do while ye<=year  
  38. clear
  39. repl n with ye
  40. @ 3,20 say '╜¿╔Φ─Ω╖▌:' get n
  41. @ 4,20 say '┤∩╡╜╔Φ╝╞─▄┴ª:' get nl
  42. read
  43. ma=' '
  44. @ 6,20 say '╒²╚╖┬≡(y/n)?' get ma
  45. read
  46. if ma='n'.or.ma='N'
  47. loop
  48. endif
  49. appe blan
  50. ye=ye+1
  51. enddo
  52. go bott
  53. dele
  54. pack
  55. repl all sr with a1*a2*nl/100
  56. repl all sj with sr*a5/100
  57. repl all cb with a61*nl/100+a6
  58. repl all lr with sr-sj-cb
  59. *    
  60. n=0
  61. do while n<=a3
  62. kk=a6/a3+(a6-n*a6/a3)*a4/100
  63. repl jh with kk
  64. n=n+1
  65. skip
  66. enddo
  67. 1
  68. *   
  69. repl all sd with lr*sds/100
  70. repl all qj with lr*qjs/100
  71. repl all sh with lr-jh-sd-qj
  72. repl all sl with lr/sr*100
  73. repl all scl with lr/cb*100
  74. clear 
  75. @ 3,24 say '=================='
  76. @ 4,24 say '╟δ─·╔╘║ε,╒²╘┌┤≥╙í'
  77. @ 5,24 say '=================='
  78. set print on 
  79. set  devi to print
  80. @ 1,14 say '                      └√╚≤╙Φ▓Γ▒φú¿╖╜░╕:'+str(a0,2)+'ú⌐'
  81. @ 2,14 say '                      ====================='
  82. @ 3,1 say ' '
  83. @ 4,1 say '┤·▒φ▓·╞╖─Ω▓·┴┐:'+str(a1,10)+'      ╡Ñ╘¬:'+a7
  84. @ 5,1 say '┤·▒φ▓·╞╖╝╞╗«╧·╩█╡Ñ╝█:'+str(a2,8)
  85. @ 6,1 say '╝╞╗«╗╣┤√─Ω╧▐:'+str(a3,3)
  86. @ 7,1 say '─Ω╧ó┬╩:'+str(a4,5,2)
  87. @ 8,1 say '╧·╩█╦░┬╩:'+str(a5,5,2)
  88. @ 9,1 say ì
  89. '=================================================================ì
  90. ======================================================'
  91. @ 10,1 say '|╜¿╔Φ┐¬|┤∩╡╜╔Φ╝╞|         |         |         |         | ì
  92.  ╝⌡  ╗╣ |  ╜╗  ─╔ |  ╜╗  ─╔ |         | ╧·╩█╩╒╚δ | ╧·╩█│╔▒╛ |'
  93. @ 11,1 say '|╩╝─Ω╖▌| ─▄┴ªúÑ ì
  94. |╧·╩█╩╒╚δ |╧·╩█╦░╜≡ |╧·╩█│╔▒╛ |╧·╩█└√╚≤ |═╢╫╩▒╛╧ó | ╦∙ ╡├ ╦░| ╡≈ ╜┌ ╦░ì
  95. |╦░║≤└√╚≤ |  └√╚≤┬╩  |  └√╚≤┬╩  |'
  96. @ 12,1 say ì
  97. '|======|========|=========|=========|=========|=========|=========|====ì
  98. =====|=========|=========|==========|==========|'
  99. p='|'
  100. m=13
  101. 1
  102. do while .not.eof()
  103. @ m,1 say ì
  104. p+str(n,6)+p+str(nl,8,2)+p+str(sr,9)+p+str(sj,9)+p+str(cb,9)ì
  105. +p+str(lr,9)+p+str(jh,9)+p+str(sd,9)+p+str(qj,9)+p+str(sh,9)ì
  106. +p+str(sl,10,2)+p+str(scl,10,2)+p
  107. m=m+1
  108. skip
  109. if eof()
  110. @ m,1 say ì
  111. '=================================================================ì
  112. ======================================================'
  113. else
  114. @ m,1 say ì
  115. '|------|--------|---------|---------|---------|---------|---------|---ì
  116. ------|---------|---------|----------|----------|'
  117. endif
  118. m=m+1
  119. enddo
  120. @ m,1 say ' '
  121. set print off
  122. set devi to scre
  123. retu
  124.