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

  1. clear
  2. set talk off
  3. set device to screen
  4. close database
  5. sele 1  
  6. use sb index sb1 
  7. sele 2
  8. use xx
  9. sele 3
  10. use sm
  11. sele 4
  12. use ngz
  13. acce "╟δ╩Σ╚δ╔Φ▒╕▒α║┼:" to a
  14. sele 1
  15. seek a
  16. if eof()
  17. @ 4,0 clea
  18. wait '╬▐┤╦╔Φ▒╕ú¼░┤╚╬╥Γ╝ⁿ╖╡╗╪úí'
  19. retu
  20. endif
  21. b=sb4
  22. sele 2
  23. loca for xx2=b .and. xx13='y'
  24. if eof()
  25. b=0
  26. else
  27. b=1
  28. endif
  29. clear
  30. set device to print 
  31. set print on
  32. set cons off
  33. ? chr(27)+"IJ"
  34. set print off
  35. set cons on
  36. @ 1,1 say "                          "+a+"╔Φ▒╕▒¿╖╧╦∙╨Φ╡─╨┼╧ó"
  37. @ 2,1 say "           "
  38. @ 3,1 say ì
  39. "=================================================================ì
  40. ===================================================================="
  41. @ 4,1 say "| ╔Φ  ▒╕  ├√  │╞ |╞⌠╙├╩▒╝Σ|╥╤╩╣╙├─Ω╧▐|  ╘¡  ╓╡  ì
  42. | ╥╤╠ß╒█╛╔ |  ╛╗  ╓╡  |  ╛╗▓╨╓╡  ì
  43. |└█╝╞┐¬╢»╠¿╩▒|┤≤╨▐└φ┤╬╩²|      ╩╟╖±╠╘╠¡╗·╨═        |"
  44. @ 5,1 say ì
  45. "|----------------|--------|----------|----------|----------|-----ì
  46. -----|----------|------------|----------|--------------------------|"
  47. sele 1
  48. @ 6,1 say "|"+sb3
  49. d=dtoc(sb12)
  50. @ 6,18 say "|"+d
  51. e=10
  52. @ 6,27 say "|"+str(e,2)
  53. @ 6,38 say "|"+str(sb15,10,2)
  54. @ 6,49 say "|"+str(sb18,10,2)
  55. @ 6,60 say "|"+str(sb17,10,2)
  56. @ 6,71 say "|"+str(sb26,10,2)
  57. @ 6,82 say "|"+str(sb30,8)
  58. @ 6,95 say "|"+str(sb50,1)
  59. if b=0
  60. c='         ▓╗╩╟'
  61. else
  62. c='           ╩╟'
  63. endif
  64. @ 6,106 say "|"+c+"             |"
  65. @ 7,1 say ì
  66. "|================|========|==========|==========|==========|=====ì
  67. =====|==========|============|==========|==========================|"
  68. @ 8,1 say "|╩┘├ⁿ╓▄╞┌╖╤╙├╟Θ┐÷:                                ì
  69.                                                                 ì
  70.                   |"
  71. @ 9,1 say ì
  72. "|================================================================ì
  73. ===================================================================|"
  74. @ 10,1 say "|╡≈  ╤╨  ╖╤|╔Φ  ╝╞  ì
  75. ╖╤|╣║╓├╓╞╘∞╖╤|░▓╫░╡≈╩╘╖╤|╣╩╒╧╨▐╕┤╖╤|╩┬╣╩╨▐╕┤╖╤|▒ú╤°╖╤    ì
  76. |    ╨▐└φ╖╤|╕─╘∞╖╤    |╞Σ╦ⁿ╬¼│╓╖╤|─▄╘┤╖╤    |╫▄╖╤╙├    |"
  77. @ 11,1 say ì
  78. "|----------|----------|----------|----------|----------|-------ì
  79. ---|----------|----------|----------|----------|----------|-----ì
  80. -----|"
  81. sele 3
  82. loca for sm1=a
  83. @ 12,1 say "|"+str(sm2,10,2)
  84. @ 12,12 say "|"+str(sm3,10,2)
  85. @ 12,23 say "|"+str(sm4,10,2)
  86. @ 12,34 say "|"+str(sm5,10,2)
  87. @ 12,45 say "|"+str(sm6,10,2)
  88. @ 12,56 say "|"+str(sm7,10,2)
  89. @ 12,67 say "|"+str(sm8,10,2)
  90. @ 12,78 say "|"+str(sm9,10,2)
  91. @ 12,89 say "|"+str(sm10,10,2)
  92. @ 12,100 say "|"+str(sm11,10,2)
  93. @ 12,111 say "|"+str(sm12,10,2)
  94. c=sm2+sm3+sm4+sm5+sm6+sm7+sm8+sm9+sm10+sm11+sm12 
  95. @ 12,122 say "|"+str(c,10,2)+"|"
  96. @ 13,1 say ì
  97. "|==========|==========|==========|==========|==========|=========ì
  98. =|==========|==========|==========|==========|==========|=========ì
  99. =|"
  100. @ 14,1 say "|└·─Ω╣╩╒╧╟Θ┐÷:                                        ì
  101.                                                                   ì
  102.             |"
  103. @ 15,1 say ì
  104. "|================================================================ì
  105. ==================================================================ì
  106. =|"
  107. @ 16,1 say "| ─Ω╖▌ | ╣╩╒╧┤╬╩² |╣╩╒╧═ú╗·╩▒╝Σ|  ì
  108. ┐¬╢»╠¿╩▒  |╬¼╨▐╡╚┤²╩▒╝Σ|╞╜╛∙╬¼╨▐╡╚┤²╩▒╝Σ|╞╜╛∙╨▐└φ╩▒╝Σ|╞╜╛∙│÷╣╩╒╧╩▒╝Σ|╞╜╛∙═ú╗·╩▒╝Σ ì
  109. |┐╔└√╙├┬╩       |"
  110. @ 17,1 say ì
  111. "|------|----------|------------|------------|------------|-------ì
  112. ---------|------------|--------------|-------------|--------------ì
  113. -|"
  114. sele 4
  115. loca for ngz2=a
  116. do while .not. eof()
  117. @ prow()+1,1 say "|"+ngz1
  118. @ prow(),8 say "|"+str(ngz3,4)
  119. @ prow(),19 say "|"+str(ngz4,6,1)
  120. @ prow(),32 say "|"+str(ngz5,5)
  121. @ prow(),45 say "|"+str(ngz6,6,1)
  122. b=ngz6/ngz3
  123. @ prow(),58 say "|"+str(b,6,1)
  124. c=(ngz4-ngz6)/ngz3
  125. @ prow(),75 say "|"+str(c,6,1)
  126. d=ngz5/ngz3
  127. @ prow(),88 say "|"+str(d,6,1)
  128. e=ngz4/ngz3
  129. @ prow(),103 say "|"+str(e,6,1)
  130. f=ngz5/(ngz5+ngz4)*100
  131. @ prow(),117 say "|"+str(f,6,2)+"         |"
  132. cont
  133. if .not. eof()
  134. @ prow()+1,1 say ì
  135. "|------|----------|------------|------------|------------|-------ì
  136. ---------|------------|--------------|-------------|--------------ì
  137. -|"
  138. else
  139. @ prow()+1,1 say ì
  140. "=================================================================ì
  141. ==================================================================ì
  142. =="   
  143. endif
  144. enddo
  145. set print on
  146. ? chr(13)
  147. set print off
  148. set device to screen
  149. a1=.t.
  150. retu
  151.  
  152.