home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / b / b077 / 1.img / SBGL.ZIP / BJH1.PRG < prev    next >
Encoding:
Text File  |  1980-01-01  |  3.7 KB  |  208 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 bjh
  9. a2=.t.
  10. do while a2
  11. clear
  12. @ 1,1 say "╔Φ▒╕▒α║┼    ╔Φ▒╕├√│╞       ╣ñ╫≈░α╓╞   ╨▐└φ╓▄╞┌   ì
  13. ╩╡╝╩┐¬╢»╠¿╩▒  ╨▐└φ└α▒≡"
  14. l=2
  15. do while .not. eof()
  16. a=bjh13
  17. b=bjh11
  18. c=bjh9
  19. d=bjh7
  20. e=bjh1
  21. f=bjh17
  22. p5=15.5
  23. if f=1
  24. p5=7.5
  25. endif
  26. if f=2
  27. p5=15.5
  28. endif
  29. if f=3
  30. p5=24
  31. endif
  32. a9=bjh1
  33. sele 1
  34. seek a9
  35. p=sb3
  36. sele 2
  37. do case
  38. case d>=bjh2*p5 
  39. @ l,1 say " "+e
  40. @ l,11 say " "+p
  41. @ l,28 say " "+str(f,1)
  42. p1=bjh2*p5 
  43. @ l,40 say " "+str(p1,8)
  44. @ l,50 say " "+str(bjh7,5)
  45. @ l,65 say " "+"┤≤╨▐"
  46. l=l+1
  47. case c>=bjh3*p5 
  48. @ l,1 say " "+e
  49. @ l,11 say " "+p
  50. @ l,28 say " "+str(f,1)
  51. p2=bjh3*p5 
  52. @ l,40 say " "+str(p2,8)
  53. @ l,50 say " "+str(bjh9,5)
  54. @ l,65 say " "+"╓╨╨▐"
  55. l=l+1
  56. case b>=bjh4*p5 
  57. @ l,1 say " "+e
  58. @ l,11 say " "+p
  59. @ l,28 say " "+str(f,1)
  60. p3=bjh4*p5 
  61. @ l,40 say " "+str(p3,8)
  62. @ l,50 say " "+str(bjh11,5)
  63. @ l,65 say " "+"╨í╨▐"
  64. l=l+1
  65. case a>=bjh5*p5 
  66. @ l,1 say " "+e   
  67. @ l,11 say " "+p
  68. @ l,28 say " "+str(f,1)
  69. p4=bjh5*p5 
  70. @ l,40 say " "+str(p4,8)
  71. @ l,50 say " "+str(a,5)
  72. @ l,65 say " "+"╢■▒ú"
  73. l=l+1
  74. endcase
  75. skip 
  76. if .not. eof() .and. l>=8
  77. wait '░┤╚╬╥Γ╝ⁿ╝╠╨°' to w
  78. exit 
  79. endif
  80. enddo
  81. if eof()
  82. exit
  83. endif
  84. enddo a2
  85. wait '         ┤≥╙í┬≡(y/n) ' to w
  86. if w<>'y'
  87. close database
  88. retu
  89. endif
  90. set device to print 
  91. set print on
  92. set cons off
  93. ? chr(27)+"IJ"
  94. set print off
  95. set cons on
  96. @ prow()+1,1 say "              ░┤╩╡╝╩┐¬╢»╠¿╩▒─Γ╨▐└φ╡─╔Φ▒╕"
  97. @ prow()+1,1 say "                 "
  98. @ prow()+1,1 say ì
  99. "================================================================"
  100. @ prow()+1,1 say "|╔Φ▒╕▒α║┼ |╔Φ▒╕├√│╞    ì
  101.     |╣ñ╫≈░α╓╞|╨▐└φ╓▄╞┌|╩╡┐¬╠¿╩▒|╨▐└φ└α▒≡|"
  102. @ prow()+1,1 say ì
  103. "|---------|----------------|--------|--------|--------|--------|"
  104. sele 2
  105. goto top
  106. do while .not. eof()
  107. q=2
  108. a=bjh13
  109. b=bjh11
  110. c=bjh9
  111. d=bjh7
  112. e=bjh1
  113. f=bjh17
  114. sele 1
  115. seek e
  116. p5=15.5
  117. if f=1
  118. p5=7.5
  119. endif
  120. if f=2
  121. p5=15.5
  122. endif
  123. if f=3
  124. p5=24
  125. endif
  126. p=sb3
  127. sele 2
  128. do case
  129. case d>=bjh2*p5 
  130. @ prow()+1,1 say "|"+e
  131. @ prow(),11 say "|"+p
  132. @ prow(),28 say "|"+str(f,1)
  133. p1=bjh2*p5
  134. @ prow(),37 say "|"+str(p1,8)
  135. @ prow(),46 say "|"+str(bjh7,5)
  136. @ prow(),55 say "|"+"┤≤╨▐    |" 
  137. q=1
  138. skip
  139. if .not. eof()
  140. @ prow()+1,1 say ì
  141. "|---------|----------------|--------|--------|--------|--------|"
  142. else
  143. @ prow()+1,1 say ì
  144. "================================================================"
  145. endif
  146. case c>=bjh3*p5 
  147. @ prow()+1,1 say "|"+e
  148. @ prow(),11 say "|"+p
  149. @ prow(),28 say "|"+str(f,1)
  150. p2=bjh3*p5
  151. @ prow(),37 say "|"+str(p2,8)
  152. @ prow(),46 say "|"+str(bjh9,5)
  153. @ prow(),55 say "|"+"╓╨╨▐    |" 
  154. q=1
  155. skip
  156. if .not. eof()
  157. @ prow()+1,1 say ì
  158. "|---------|----------------|--------|--------|--------|--------|"
  159. else
  160. @ prow()+1,1 say ì
  161. "================================================================"
  162. endif
  163. case b>=bjh4*p5 
  164. @ prow()+1,1 say "|"+e
  165. @ prow(),11 say "|"+p
  166. @ prow(),28 say "|"+str(f,1)
  167. p3=bjh4*p5
  168. @ prow(),37 say "|"+str(p3,8)
  169. @ prow(),46 say "|"+str(bjh11,5)
  170. @ prow(),55 say "|"+"╨í╨▐    |"
  171. q=1
  172. skip
  173. if .not. eof()
  174. @ prow()+1,1 say ì
  175. "|---------|----------------|--------|--------|--------|--------|"
  176. else
  177. @ prow()+1,1 say ì
  178. "==============================================================="
  179. endif
  180. case a>=bjh5*p5 
  181. @ prow()+1,1 say "|"+e
  182. @ prow(),11 say "|"+p
  183. @ prow(),28 say "|"+str(f,1)
  184. p4=bjh5*p5
  185. @ prow(),37 say "|"+str(p4,8)
  186. @ prow(),46 say "|"+str(bjh13,5)
  187. @ prow(),55 say "|"+"╢■▒ú    |"
  188. q=1
  189. skip
  190. if .not. eof()
  191. @ prow()+1,1 say ì
  192. "|---------|----------------|--------|--------|--------|--------|"
  193. else
  194. @ prow()+1,1 say ì
  195. "================================================================"
  196. endif
  197. endcase
  198. if q<>1
  199. skip
  200. endif
  201. enddo
  202. set print on
  203. ? chr(13)
  204. set print off
  205. set device to screen
  206. retu
  207.  
  208.