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

  1. clear
  2. set talk off
  3. set device to screen 
  4. close database
  5. sele 3
  6. use dw
  7. sele 1
  8. use sb index sb1
  9. sele 2
  10. use bfm
  11. a='         '
  12. t1='        '
  13. clear
  14. a1=.t.
  15. do while a1
  16. @ 1,1 say "╔Φ▒╕▒α║┼:" get a
  17. @ 2,1 say "╜±╠∞╡─╚╒╞┌" get t1 pict 'xx.xx.xx'
  18. read
  19. wait '╩Σ╚δ╡─╩²╛▌╒²╚╖┬≡(y/n) ' to w
  20. if w<>'y'
  21. loop
  22. endif
  23. a1=.f.
  24. enddo a1
  25. j1=substr(t1,4,2)
  26. j2=substr(t1,7,2)
  27. j3=substr(t1,1,2)
  28. t1=j1+'/'+j2+'/'+j3
  29. t1=ctod(t1)
  30. repl all bfm3 with 'n'
  31. goto top
  32. @ 3,0 clear
  33. q=1
  34. l=2
  35. a1=.t.
  36. do while a1
  37. @ 8,0 clear
  38. b='  '
  39. if l>=8
  40. @ q+1,40 clear
  41. @ q,40 say "▒¿╖╧╘¡╥≥┬δ:" get b
  42. read
  43. q=q+1
  44. else
  45. @ l,1 say "▒¿╖╧╘¡╥≥┬δ:" get b
  46. read
  47. endif
  48. if b='h'       
  49. t=l
  50. sele 2
  51. do hel3
  52. a1=.t.
  53. l=t
  54. @ l,1 clear
  55. loop
  56. else
  57. loca for bfm1=b
  58. repl bfm3 with 'y'
  59. endif
  60. @ 8,0 clear
  61. wait '╗╣╙╨▒≡╡─╘¡╥≥┬≡(y/n)' to w
  62. if w='y'
  63. l=l+1
  64. loop
  65. endif
  66. a1=.f.
  67. enddo a1
  68. sele 1
  69. seek a
  70. repl sb32 with 'y'
  71. clear
  72. set device to print 
  73. set print on  
  74. set cons off
  75. ? chr(27)+"IJ"
  76. set print off
  77. set cons on
  78. @ 0,10 say "                    ╔Φ▒╕▒¿╖╧╔Ω╟δ╡Ñ"
  79. @ 1,1 say "              "
  80. t2=dtoc(t1)
  81. j1=substr(t2,7,2)
  82. j2=substr(t2,4,2)
  83. j3=substr(t2,1,2)
  84. t2=j1+'.'+j3+'.'+j2
  85. @ 2,55 say "╠ε▒φ╚╒╞┌:"+t2            
  86. @ 3,1 say ì
  87. "=================================================================ì
  88. =========" 
  89. @ 4,1 say "|╔Φ▒╕▒α║┼|"+sb1
  90. @ 4,21 say "|╔Φ▒╕├√│╞|"+sb3
  91. @ 4,48 say "|╨═    ║┼|"+sb4+"|"
  92. @ 5,1 say ì
  93. "|--------|----------|--------|-----------------|--------|--------------ì
  94. --|"
  95. a1=dtoc(sb12)
  96. j1=substr(a1,7,2)
  97. j2=substr(a1,4,2)
  98. j3=substr(a1,1,2)
  99. a1=j1+'.'+j3+'.'+j2
  100. @ 6,1 say "|╩╣╙├╚╒╞┌|"+a1
  101. t1=t1-sb12
  102. t1=t1/365
  103. @ 6,21 say "|╥╤╙├─Ω╧▐|"+str(t1,2)
  104. @ 6,48 say "|╓╪    ┴┐|"+str(sb6,6,2)+"          |"
  105. @ 7,1 say ì
  106. "|--------|----------|--------|-----------------|--------|----------ì
  107. ------|"
  108. @ 8,1 say "|╘¡    ╓╡|"+str(sb15,10,2)
  109. @ 8,21 say "|╥╤╠ß╒█╛╔|"+str(sb18,10,2)
  110. @ 8,48 say "|╛╗    ╓╡|"+str(sb17,10,2)+"      |"
  111. @ 9,1 say ì
  112. "|--------|----------|--------|-----------------|--------|---------ì
  113. -------|"
  114. @ 10,1 say "|╛╗ ▓╨ ╓╡|"+str(sb26,8,2)
  115. @ 10,21 say "|╒█╛╔─Ω╧▐|"+str(sb16,2)
  116. a5=sb28
  117. sele 3
  118. loca for dw1=a5
  119. @ 10,48 say "|╩╣╙├╡Ñ╬╗|"+dw2+"    |" 
  120. @ 11,1 say ì
  121. "|----------------------------------------------------------------ì
  122. --------|"
  123. sele 2
  124. loca for bfm3='y'
  125. p=1
  126. @ 12,1 say "|▒¿╖╧|"+str(p,2)+".  "+bfm2+"                          ì
  127.       |"
  128. cont
  129. p=p+1
  130. l=13
  131. do while .not. eof()
  132. @ l,1 say "|    |"+str(p,2)+".  "+bfm2+"                          ì
  133.       |"
  134. l=l+1
  135. cont
  136. p=p+1
  137. enddo
  138. do while l<18
  139. @ l,1 say "|    |                                                ì
  140.                    |"
  141. l=l+1
  142. enddo
  143. @ prow()+1,1 say "|╘¡╥≥|                                                ì
  144.                    |"    
  145. @ prow()+1,1 say ì
  146. "|----------------------------------------------------------------ì
  147. --------|"
  148. @ prow()+1,1 say "|╩╣╙├╡Ñ|                                      ì
  149.                            |"
  150. l=1
  151. do while l<5
  152. @ prow()+1,1 say "|      |                                              ì
  153.                    |"
  154. l=l+1
  155. enddo
  156. @ prow()+1,1 say "|╬╗╥Γ╝√|                                              ì
  157.  ╟⌐╫╓:             |"
  158. @ prow()+1,1 say ì
  159. "|----------------------------------------------------------------ì
  160. --------|"
  161. @ prow()+1,1 say "|╗·╢»▓┐|                                          ì
  162.                        |"
  163. l=1
  164. do while l<5
  165. @ prow()+1,1 say "|      |                                              ì
  166.                    |"  
  167. l=l+1
  168. enddo
  169. @ prow()+1,1 say "|├┼╥Γ╝√|                                          ì
  170.      ╟⌐╫╓:             |"
  171. @ prow()+1,1 say ì
  172. "|----------------------------------------------------------------ì
  173. --------|"
  174. @ prow()+1,1 say "|│º╔≤┼·|                                              ì
  175.                    |"     
  176. l=1
  177. do while l<5
  178. @ prow()+1,1 say "|      |                                              ì
  179.                    |"
  180. l=l+1
  181. enddo
  182. @ prow()+1,1 say "|╥Γ  ╝√|                                              ì
  183.  ╟⌐╫╓:             |"       
  184. @ prow()+1,1 say ì
  185. "|----------------------------------------------------------------ì
  186. --------|"
  187. @ prow()+1,1 say "|╔╧╝╢╔≤|                                              ì
  188.                    |"   
  189. l=1
  190. do while l<5
  191. @ prow()+1,1 say "|      |                                              ì
  192.                    |"
  193. l=l+1
  194. enddo
  195. @ prow()+1,1 say "|┼·╥Γ╝√|                                              ì
  196.  ╟⌐╫╓:             |"   
  197. @ prow()+1,1 say ì
  198. "=================================================================ì
  199. ========="
  200. set print on
  201. ? chr(13)
  202. set print off
  203. sele 2
  204. set device to screen
  205. a1=.t.
  206. clos data
  207. retu
  208.  
  209.  
  210.