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

  1. clear
  2. set talk off
  3. set device to screen
  4. close database
  5. sele 1
  6. use cr
  7. sele 2
  8. use gh index gh1
  9. sele 3
  10. use dw index dw1
  11. sele 4
  12. use bj index bj1
  13. a='        '
  14. b='        '
  15. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝╚╒╞┌" get a pict '99.99.99'
  16. @ 5,10 say "╓╒╓╣╚╒╞┌" get b pict '99.99.99'
  17. read 
  18. j1=substr(a,4,2)
  19. j2=substr(a,7,2)
  20. j3=substr(a,1,2)
  21. a=j1+'/'+j2+'/'+j3
  22. a=ctod(a)
  23. j1=substr(b,4,2)
  24. j2=substr(b,7,2)
  25. j3=substr(b,1,2)
  26. b=j1+'/'+j2+'/'+j3
  27. b=ctod(b)
  28. sele 1
  29. loca for l2>=a .and. l2<=b
  30. if eof()
  31. wait '┤╦╚╒╞┌╝Σ╬▐│÷╚δ┐Γ╗ε╢»,░┤╚╬╥Γ╝ⁿ╖╡╗╪' to w
  32. retu
  33. endif
  34. a2=.t.
  35. do while a2
  36. clear
  37. @ 1,1 say "▒╕╝■▒α║┼  ▒╕╝■├√│╞        ╡Ñ╝█    ╩²┴┐    ╡Ñ╬╗├√│╞     ì
  38.           ╚╒╞┌    └α▒≡"
  39. l=2
  40. do while .not. eof()
  41. @ l,1 say " "+l1
  42. c=l1
  43. sele 4
  44. seek c        
  45. @ l,10 say " "+b2
  46. sele 1
  47. @ l,24 say " "+str(l4,8,2)
  48. @ l,31 say " "+str(l3,8,3)
  49. e=l6
  50. if l10='r'
  51. sele 2
  52. seek e        
  53. @ l,41 say " "+gh2
  54. else          
  55. sele 3
  56. seek e         
  57. @ l,41 say " "+dw2
  58. endif   
  59. sele 1
  60. e=dtoc(l2)
  61. j1=substr(e,7,2)
  62. j2=substr(e,1,2)
  63. j3=substr(e,4,2)
  64. e=j1+'.'+j2+'.'+j3
  65. @ l,64 say " "+e
  66. do case 
  67. case l10='r'
  68. d='╜°┐Γ'
  69. case l10='h'
  70. d='╗╪╩╒'
  71. case l10='c'
  72. d='│÷┐Γ'
  73. otherwise
  74. d='    '
  75. endcase
  76. @ l,74 say " "+d
  77. l=l+1
  78. cont
  79. if .not. eof()
  80. if l>=8
  81. wait '░┤╚╬╥Γ╝ⁿ╝╠╨°' to w
  82. exit
  83. endif
  84. else
  85. a2=.f.
  86. endif
  87. enddo 
  88. enddo a2
  89. wait '┤≥╙í┬≡(Y/N)' to w
  90. if w<>'y'
  91. clos data
  92. retu
  93. endif
  94. clear
  95. @ 4,20 say "╒²╘┌┤≥╙íú¼╟δ╔╘║≥úí"
  96. set cons off
  97. set device to print 
  98. set print on
  99. ? chr(27)+"IJ"
  100. set print off
  101. p=1
  102. sele 1
  103. loca for l2>=a .and. l2<=b
  104. a1=.t.
  105. do while a1
  106. @ prow()+1,50 say "│÷╚δ┐Γ┴≈╦«╒╩"
  107. @ prow()+1,10 say "                                           "
  108. @ prow()+1,80 say "╡┌:"+str(p,2)+"╥│"
  109. @ prow()+1,1 say ì
  110. "=================================================================ì
  111. ======================================="
  112. @ prow()+1,1 say "|▒╕╝■▒α║┼ |▒╕╝■├√│╞        |╡Ñ╝█    |╩²┴┐    ì
  113. |╣⌐╗⌡╡Ñ╬╗├√│╞                  |╣ñ╫≈┴ε║┼    |╚╒╞┌    |└α▒≡|"
  114. @ prow()+1,1 say ì
  115. "|---------|----------------|--------|--------|-------------------ì
  116. -----------|--ì
  117. ----------|--------|----|"
  118. l=7
  119. do while .not. eof() 
  120. @ prow()+1,1 say "|"+l1
  121. d=l1
  122. sele 4
  123. seek d
  124. @ prow(),11 say "|"+b2
  125. sele 1
  126. @ prow(),28 say "|"+str(l4,8,2)
  127. @ prow(),37 say "|"+str(l3,8,2)
  128. e=l6
  129. if l10='r'
  130. sele 2
  131. seek e
  132. @ prow(),46 say "|"+gh2
  133. else
  134. sele 3 
  135. seek e
  136. @ prow(),46 say "|"+dw2
  137. endif
  138. sele 1
  139. @ prow(),77 say "|"+str(l7,12)
  140. do case 
  141. case l10='r'
  142. d='╜°┐Γ'
  143. case l10='h'
  144. d='╗╪╩╒'
  145. case  l10='c'
  146. d='│÷┐Γ'
  147. otherwise
  148. d='    '
  149. endcase
  150. f=dtoc(l2)
  151. j1=substr(f,7,2)
  152. j2=substr(f,1,2)
  153. j3=substr(f,4,2)
  154. f=j1+'.'+j2+'.'+j3
  155. @ prow(),90 say "|"+f
  156. @ prow(),99 say "|"+d+"|"
  157. cont
  158. l=l+1
  159. if .not. eof()
  160. if l>=50
  161. @ prow()+1,1 say ì
  162. "=================================================================ì
  163. ======================================"
  164. p=p+1
  165. exit
  166. else
  167. @ prow()+1,1 say ì
  168. "|---------|----------------|--------|--------|-------------------ì
  169. -----------|--ì
  170. ----------|--------|----|"
  171. l=l+1
  172. endif
  173. else
  174. @ prow()+1,1 say ì
  175. "=================================================================ì
  176. ======================================="
  177. a1=.f.
  178. endif
  179. enddo 
  180. enddo a1
  181. set print on
  182. ? chr(13)
  183. set print off
  184. set device to screen
  185. a1=.t.
  186. close database
  187. set cons on
  188. retu
  189.  
  190.  
  191.  
  192.  
  193.  
  194.