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

  1. clear
  2. set talk off
  3. set device to screen 
  4. clos data
  5. sele 1
  6. use gzl1 
  7. set index to gzl11
  8. sele 2
  9. use dm
  10. sele 3
  11. use wx
  12. sele 4
  13. use sb 
  14. set index to sb1
  15. sele 1
  16. j1=substr(p100,4,2)
  17. j2=substr(p100,7,2)
  18. j3=substr(p100,1,2)
  19. aa=j1+'/'+j2+'/'+j3
  20. aa=ctod(aa)
  21. loca for gzl17<=aa
  22. if eof()
  23. @ 4,0 clear
  24. wait '                 ╬▐╤╙╞┌═Ω╣ñ╡─╣ñ╫≈┴εú¼░┤╚╬╥Γ╝ⁿ╖╡╗╪úí'
  25. clos data
  26. retu
  27. endif
  28. a1=.t.
  29. do while a1
  30. clear
  31. @ 1,1 say "╣ñ╫≈┴ε║┼    ╔Φ▒╕▒α║┼    ╔Φ▒╕├√│╞     │╨╨▐╡Ñ╬╗  ╜⌠╝▒│╠╢╚  ì
  32. ╣ñ╫≈└α╨═  ╝╞╗«═Ω╣ñ╚╒"
  33. l=2
  34. do while .not.eof()
  35. bb=gzl12
  36. cc=gzl13
  37. dd=gzl14
  38. ee=gzl18
  39. sele 4
  40. seek bb
  41. k1=sb1
  42. k2=sb3
  43. sele 3
  44. loca for wx1=ee
  45. k3=wx2
  46. sele 2
  47. loca for dm1='y' .and. dm2=cc
  48. k4=dm3
  49. loca for dm1='x' .and. dm2=dd
  50. k5=dm3
  51. sele 1
  52. k6=dtoc(gzl17)
  53. j1=substr(k6,7,2)
  54. j2=substr(k6,1,2)
  55. j3=substr(k6,4,2)
  56. k6=j1+'.'+j2+'.'+j3
  57. @ l,1 say str(gzl11,10)+'  '+k1+k2+k3+'   '+k4+k5+k6
  58. l=l+1
  59. cont
  60. if l>=9 .and. .not. eof()
  61. wait '░┤ú╥╝ⁿ╖╡╗╪ú¼╞Σ╦ⁿ╝ⁿ╝╠╨°úí' to w
  62. if w='r'
  63. clos data
  64. retu
  65. endif
  66. exit
  67. endif
  68. enddo
  69. if eof()
  70. exit
  71. endif
  72. enddo 
  73. wait '┤≥╙í┬≡ú¿ú┘ú»ú╬ú⌐' to w
  74. if w<>'y'
  75. clos data
  76. retu
  77. endif
  78. clear
  79. @ 4,20 say "╒²╘┌┤≥╙íú¼╟δ╔╘║≥úí"
  80. set cons off
  81. set device to print 
  82. set print  on
  83. ? chr(27)+"II"
  84. set print off
  85. p=1
  86. sele 1
  87. loca for gzl17<=aa
  88. a1=.t.
  89. do while a1
  90. @ prow()+1,90 say "╤╙╞┌═Ω╣ñ╡─╣ñ╫≈┴ε"
  91. @ prow()+1,1 say "      "
  92. @ prow()+1,135 say "╡┌"+str(p,2)+"╥│"
  93. @ prow()+1,1 say ì
  94. "=======================================================================ì
  95. =============================================================================="
  96. @ prow()+1,1 say "|╣ñ╫≈┴ε║┼  |╔Φ▒╕▒α║┼ |╔Φ▒╕├√│╞        ì
  97. |╔Φ▒╕╨═║┼        |░▓╫░╡╪╡π    ì
  98. |╜⌠╝▒│╠╢╚  |╣ñ╫≈└α╨═  |│╨╨▐╡Ñ╬╗|┐¬╣ñ╚╒╞┌|═Ω╣ñ╚╒╞┌|╬¼╨▐─┌╚▌            ì
  99.           |"
  100. @ prow()+1,1 say ì
  101. "|----------|---------|----------------|---------ì
  102. -------|------------|----------|----------|--------|--------|--------ì
  103. |------------------------------|"
  104. l=1
  105. do while .not. eof()
  106. bb=gzl12
  107. cc=gzl13
  108. dd=gzl14
  109. ee=gzl18
  110. sele 4
  111. seek bb
  112. k1=sb1
  113. k2=sb3
  114. k3=sb4
  115. k0=sb29
  116. sele 3
  117. loca for wx1=ee
  118. k4=wx2
  119. sele 2
  120. loca for dm1='y' .and. dm2=cc
  121. k5=dm3
  122. loca for dm1='x' .and. dm2=dd
  123. k6=dm3
  124. sele 1
  125. k7=dtoc(gzl16)
  126. j1=substr(k7,7,2)
  127. j2=substr(k7,1,2)
  128. j3=substr(k7,4,2)
  129. k7=j1+'.'+j2+'.'+j3
  130. k8=dtoc(gzl17)
  131. j1=substr(k8,7,2)
  132. j2=substr(k8,1,2)
  133. j3=substr(k8,4,2)
  134. k8=j1+'.'+j2+'.'+j3
  135. @ prow()+1,1 say ì
  136. "|"+str(gzl11,10)+"|"+k1+"|"+k2+"|"+k3+"|"+k0+"|"+k6+"|"+k5+"|"+k4ì
  137. +"|"+k7+"|"+k8+"|"+gzl10+"|"
  138. l=l+1
  139. cont
  140. if .not. eof()
  141. if l>=4 
  142. @ prow()+1,1 say ì
  143. "=================================================================ì
  144. ==================================================================ì
  145. =================="
  146. ejec
  147. @ prow()+1,1 say "      "
  148. p=p+1
  149. exit
  150. else
  151. @ prow()+1,1 say ì
  152. "|----------|---------|----------------|----------------|---------ì
  153. ---|----------|----------|--------|--------|--------|-----------------ì
  154. -------------|"
  155. l=l+1
  156. endif
  157. else
  158. @ prow()+1,1 say ì
  159. "=================================================================ì
  160. ==================================================================ì
  161. =================="
  162. endif
  163. enddo 
  164. if eof()
  165. exit
  166. endif
  167. enddo 
  168. set print on
  169. ? chr(13)
  170. set print off
  171. set device to screen 
  172. clos data
  173. retu
  174.