home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a056 / 5.ddi / RS / YQMIS010.PRG < prev    next >
Encoding:
Text File  |  1993-12-21  |  3.0 KB  |  206 lines

  1. *******************************************************
  2. * ╬─╝■├√│╞: YQMIS010
  3. * │╠╨≥╔Φ╝╞: ╤┼╞µ                  
  4. * ▒α│╠╚╒╞┌: 93.12.21   21:35:30
  5. *******************************************************
  6. set date ansi
  7. set safe off
  8. close data
  9. set color to w/1,,
  10. clear
  11. do smggp with '╟δ  ╔╘  ║≥ !',10,34
  12. set color to w/1,,
  13. sele A
  14. use RS alia A
  15. index on ╨╘▒≡ to RS uniq
  16. sele B
  17. use RSXBTJ alia B
  18. priv oflbds
  19. oflbds='╨╘▒≡'
  20. set proc to YQMIS010
  21. sele 1
  22. copy to otj.ols
  23. close inde
  24. sele 2
  25. zap
  26. appe from otj.ols
  27. dele file otj.ols
  28. set stat on
  29. @ 23,0 clear to 24,79
  30. do smggp with '╒²╘┌╜°╨╨═│╝╞,╟δ╔╘║≥!!',10,24
  31. @ 23,0 clear to 24,79
  32. do qjls with [],[╫▄╚╦╩²]
  33. set stat off
  34. return
  35. *****************
  36. * ╟≤╝╟┬╝╕÷╩²    *
  37. *****************
  38. proc qjls
  39. para otj,ojgzd
  40. if len(trim(otj))=0
  41. otj='.t.'
  42. endif
  43. priv qjls,ofl
  44. if len(oflbds)=0
  45. sele 1
  46. count to qjls for &otj
  47. sele 2
  48. repl &ojgzd with qjls
  49. else
  50. sele 2
  51. goto top
  52. do while .not.eof()
  53. ofl=&oflbds
  54. sele 1
  55. set filt to ofl=&oflbds
  56. count to qjls for &otj
  57. sele 2
  58. repl &ojgzd with qjls
  59. skip
  60. enddo
  61. endif
  62. return
  63. *****************
  64. * ╟≤║═          *
  65. *****************
  66. proc qh
  67. para otj,ojgzd,otjzd
  68. if len(trim(otj))=0
  69. otj='.t.'
  70. endif
  71. priv q,ofl
  72. if len(oflbds)=0
  73. sele 1
  74. sum &otjzd to q for &otj
  75. sele 2
  76. repl &ojgzd with q
  77. else
  78. sele 2
  79. goto top
  80. do while .not.eof()
  81. ofl=&oflbds
  82. sele 1
  83. set filt to ofl=&oflbds
  84. sum &otjzd to q for &otj
  85. sele 2
  86. repl &ojgzd with q
  87. skip
  88. enddo
  89. endif
  90. return
  91. *****************
  92. * ╟≤╞╜╛∙╓╡      *
  93. *****************
  94. proc qpjz
  95. para otj,ojgzd,otjzd
  96. if len(trim(otj))=0
  97. otj='.t.'
  98. endif
  99. priv q,ofl
  100. if len(oflbds)=0
  101. sele 1
  102. aver &otjzd to q for &otj
  103. sele 2
  104. repl &ojgzd with q
  105. else
  106. sele 2
  107. goto top
  108. do while .not.eof()
  109. ofl=&oflbds
  110. sele 1
  111. set filt to ofl=&oflbds
  112. aver &otjzd to q for &otj
  113. sele 2
  114. repl &ojgzd with q
  115. skip
  116. enddo
  117. endif
  118. return
  119. *****************
  120. * ╟≤╫ε┤≤╓╡      *
  121. *****************
  122. proc qzdz
  123. para otj,ojgzd,otjzd
  124. if len(trim(otj))=0
  125. otj='.t.'
  126. endif
  127. priv q,ofl
  128. if len(oflbds)=0
  129. sele 1
  130. goto top
  131. q=-999999999
  132. do while .not.eof()
  133. if &otj
  134. q=iif(q<&otjzd,&otjzd,q)
  135. endif
  136. skip
  137. enddo
  138. sele 2
  139. repl &ojgzd with q
  140. else
  141. sele 2
  142. goto top
  143. do while .not.eof()
  144. ofl=&oflbds
  145. sele 1
  146. set filt to ofl=&oflbds
  147. goto top
  148. q=-999999999
  149. do while .not.eof()
  150. if &otj
  151. q=iif(q<&otjzd,&otjzd,q)
  152. endif
  153. skip
  154. enddo
  155. sele 2
  156. repl &ojgzd with q
  157. skip
  158. enddo
  159. endif
  160. return
  161. *****************
  162. * ╟≤╫ε╨í╓╡      *
  163. *****************
  164. proc qzxz
  165. para otj,ojgzd,otjzd
  166. if len(trim(otj))=0
  167. otj='.t.'
  168. endif
  169. priv q,ofl
  170. if len(oflbds)=0
  171. sele 1
  172. goto top
  173. q=999999999
  174. do while .not.eof()
  175. if &otj
  176. q=iif(q>&otjzd,&otjzd,q)
  177. endif
  178. skip
  179. enddo
  180. sele 2
  181. repl &ojgzd with q
  182. else
  183. sele 2
  184. goto top
  185. do while .not.eof()
  186. ofl=&oflbds
  187. sele 1
  188. set filt to ofl=&oflbds
  189. goto top
  190. q=999999999
  191. do while .not.eof()
  192. if &otj
  193. q=iif(q>&otjzd,&otjzd,q)
  194. endif
  195. skip
  196. enddo
  197. sele 2
  198. repl &ojgzd with q
  199. skip
  200. enddo
  201. endif
  202. return
  203.  
  204. *******************************************************
  205. * ▒α│╠╚╒╞┌: 93.12.21   21:35:32
  206. *******************************************************