home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / b / b077 / 1.img / SBGL.ZIP / XZP3.PRG < prev    next >
Encoding:
Text File  |  1980-01-01  |  2.5 KB  |  129 lines

  1. set talk off
  2. clear
  3. m=0
  4. mc='                                '
  5. @ 4,20 say '╝╕╬╗╫¿╝╥▓╬╝╙╞└╣└?' get m
  6. read
  7. clear
  8. @ 4,05 say '╩Σ╚δ▒╗╞└╣└╔Φ▒╕╡─├√│╞╙δ╨═║┼' get mc
  9. read
  10. clear
  11. use c:xzp3
  12. dele all
  13. pack
  14. mm=1
  15. appe blan
  16. do while mm<=m
  17. clear
  18. @ 3,10 say '╛¡    ╝├:' get jj
  19. @ 4,10 say '┐╔    ┐┐:' get kk
  20. @ 5,10 say '╥╫    ╨▐:' get yx
  21. @ 6,10 say '╜┌    ─▄:' get jn
  22. @ 3,40 say '╗╖▒ú░▓╚½:' get hb
  23. @ 4,40 say '═¿    ╙├:' get ty
  24. @ 5,40 say '╩╩    ╙├:' get sy
  25. @ 6,40 say '═Γ    ╣█:' get wg
  26. read
  27. ma=' '
  28. @ 8,29 say '╒²╚╖┬≡?(y/n)' get ma
  29. read
  30. if ma='n'.or.ma='N'
  31. loop
  32. endif
  33. mm=mm+1
  34. s=mm-1
  35. repl xn with ' ╖╓  ╓╡'+str(s,2)+' '
  36. tot=jj+kk+yx+jn+hb+ty+sy+wg
  37. t1=jj/tot*100
  38. t2=kk/tot*100
  39. t3=yx/tot*100
  40. t4=jn/tot*100
  41. t5=hb/tot*100
  42. t7=ty/tot*100
  43. t8=sy/tot*100
  44. t9=wg/tot*100
  45. appe blan
  46. repl jj with t1,kk with t2,yx with t3,jn with t4,hb with t5,ty ì
  47. with t7,sy with t8,wg with t9,xn with ' ░┘╖╓▒╚'+str(s,2)+' '
  48. appe blan
  49. enddo
  50. mm=1
  51. t1=0
  52. t2=0
  53. t3=0
  54. t4=0
  55. t5=0
  56. t6=0
  57. t7=0
  58. t8=0
  59. 1
  60. do while mm<=m
  61. mm=mm+1
  62. skip
  63. t1=t1+jj
  64. t2=t2+kk
  65. t3=t3+yx
  66. t4=t4+jn
  67. t5=t5+hb
  68. t6=t6+ty
  69. t7=t7+sy
  70. t8=t8+wg
  71. skip
  72. enddo
  73. repl jj with t1,kk with t2,yx with t3,jn with t4,hb with t5,ty ì
  74. with t6,sy with t7,wg with t8,xn with '╫█║╧░┘╖╓▒╚'
  75. tot=t1+t2+t3+t4+t5+t6+t7+t8
  76. t1=t1/tot*100
  77. t2=t2/tot*100
  78. t3=t3/tot*100
  79. t4=t4/tot*100
  80. t5=t5/tot*100
  81. t6=t6/tot*100
  82. t7=t7/tot*100
  83. t8=t8/tot*100
  84. appe blan
  85. repl jj with t1,kk with t2,yx with t3,jn with t4,hb with t5,ty ì
  86. with t6,sy with t7,wg with t8,xn with '╜ß┬█░┘╖╓▒╚'
  87. clear
  88. @ 3,24 say '==================='
  89. @ 4,24 say ' ╟δ─·╔╘║ε,╒²╘┌┤≥╙í'
  90. @ 5,24 say '==================='
  91. set device to print
  92. set print on
  93. @ 1,5 say '                    ╫¿╝╥╞└╣└╖╓╬÷▒φ'
  94. @ 2,5 say '                    =============='
  95. @ 3,1 say ' ' 
  96. @ 4,1 say '╔Φ▒╕├√│╞╙δ╨═║┼:'+mc
  97. @ 5,1 say ì
  98. '=====================================================================ì
  99. ='
  100. @ 6,1 say '|  ╨╘  ─▄  | ╛¡╝├ | ┐╔┐┐ | ╥╫╨▐ | ╜┌─▄ |╗╖▒ú░▓╚½| ═¿╙├ ì
  101. | ╩╩╙├ | ═Γ╣█ |'
  102. @ 7,1 say ì
  103. '|==========|======|======|======|======|========|======|======|==ì
  104. ====|'
  105. k=8
  106. use c:xzp3
  107. do while .not.eof()
  108. @ k,1 say ì
  109. '|'+xn+'|'+str(jj,6,1)+'|'+str(kk,6,1)+'|'+str(yx,6,1)+'|'+str(jn,6,1)+'|'+str(hb,8,1)+'|'
  110. @ k,50 say str(ty,6,1)+'|'+str(sy,6,1)+'|'+str(wg,6,1)+'|'
  111. k=k+1
  112. skip
  113. if eof()
  114. @ k,1 say ì
  115. '======================================================================'
  116. else
  117. @ k,1 say ì
  118. '|----------|------|------|------|------|--------|------|------|--ì
  119. ----|'
  120. endif
  121. k=k+1
  122. enddo
  123. @ k,1 say ' '
  124. set print off
  125. set devi to scre
  126. set talk on
  127. retu
  128.  
  129.