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

  1. clear
  2. set talk off
  3. set device to screen
  4. close database
  5. sele 1
  6. use dw index dw1
  7. sele 2
  8. use ylf
  9. loca for ylf5<>'y'
  10. c=recno()
  11. a1=.t.
  12. do while a1
  13. clear
  14. @ 1,1 say "╚▌╞≈▒α║┼   ╝∞╤Θ╚╒╞┌  ╝∞╤Θ└α▒≡           ╝∞╤Θ─┌╚▌      ì
  15.            ╝∞╤Θ╡Ñ╬╗"
  16. if .not. eof()
  17. goto c
  18. else
  19. clear
  20. @ 4,10 say "╚½▓┐╚▌╞≈╢╝├╗╬╩╠Γ"
  21. @ 7,50 clear
  22. wait '░┤╚╬╥Γ╝ⁿ╖╡╗╪' to w
  23. retu
  24. endif
  25. l=2
  26. do while .not. eof()
  27. @ l,1 say " "+ylf1
  28. b=dtoc(ylf2)
  29. j1=substr(b,7,2)
  30. j2=substr(b,1,2)
  31. j3=substr(b,4,2)
  32. b=j1+'.'+j2+'.'+j3
  33. @ l,10 say " "+b
  34. if ylf3='1'
  35. @ l,21 say " "+"═Γ╝∞"
  36. endif
  37. if ylf3='2'
  38. @ l,21 say " "+"─┌╝∞"
  39. endif
  40. if ylf3='3'
  41. @ l,21 say " "+"╚½├µ╝∞╤Θ"
  42. endif
  43. @ l,33 say " "+ylf4
  44. a=ylf6
  45. sele 1
  46. seek a         
  47. @ l,63 say " "+dw2 
  48. sele 2
  49. cont 
  50. l=l+1
  51. if .not. eof()
  52. if l>=9
  53. @ 8,50 clear
  54. wait "░┤╚╬╥Γ╝ⁿ╝╠╨°" to w
  55. c=recno()
  56. goto bott
  57. skip
  58. clear
  59. a1=.t.
  60. endif
  61. else
  62. a1=.f.
  63. endif
  64. enddo 
  65. enddo a1
  66. wait '┤≥╙í┬≡(Y/N)' to w
  67. if w<>'y'
  68. a1=.t.
  69. retu
  70. endif
  71. close database
  72. sele 1
  73. use ylf
  74. sele 2
  75. use yl
  76. sele 3
  77. use dw index dw1
  78. set device to print 
  79. set print on
  80. clear
  81. sele 1
  82. loca for ylf5<>'y'
  83. if .not. eof()
  84. t=recno()
  85. else
  86. set print off
  87. set device to screen
  88. retu
  89. endif
  90. set cons off
  91. ? chr(27)+"IJ"
  92. set print off
  93. set cons on
  94. p=1
  95. a1=.t.
  96. do while a1
  97. goto t
  98. @ 1,45 say "╝∞╤Θ║≤╙╨╬╩╠Γ╡─╤╣┴ª╚▌╞≈"
  99. @ 2,1 say "                   "
  100. @ 3,115 say "╡┌"+str(p,2)+"╥│"
  101. @ 4,0 say ì
  102. "=================================================================ì
  103. =================================================================" 
  104. @ 5,0 say "|╚▌╞≈▒α║┼ |└α▒≡|░▓╫░╡╪╡π  ì
  105.   |╤╣┴ª(Kg/cm*cm)|╬┬╢╚ C|╜Θ╓╩        |╝∞╤Θ╚╒╞┌|╝∞╤Θ└α▒≡|╝∞╤Θ─┌╚▌                      |╝∞╤Θ╡Ñ╬╗       ì
  106.  |"
  107. @ 6,0 say ì
  108. "|---------|----|------------|--------------|------|------------|---ì
  109. -----|--------|------------------------------|----------------|"
  110. l=7
  111. do while .not. eof()
  112. @ prow()+1,0 say "|"+ylf1
  113. a=ylf1
  114. sele 2
  115. loca for yl1=a
  116. *do case 
  117. *case yl3='1'
  118. *@ prow(),9 say "|"+"1 └α"
  119. *case yl3='2'
  120. *@ prow(),9 say "|"+"2 └α"
  121. *case yl3='3'
  122. *@ prow(),9 say "|"+"3 └α"
  123. *otherwise
  124. *@ prow(),9 say "|"
  125. *endcase
  126. @ prow(),pcol() say "|"+yl3
  127. @ prow(),pcol() say "|"+yl29
  128. @ prow(),pcol() say "|"+str(yl21,3)+"           "
  129. @ prow(),pcol() say "|"+str(yl22,3)+"   "
  130. @ prow(),pcol() say "|"+yl23
  131. sele 1
  132. k=dtoc(ylf2)
  133. j1=substr(k,7,2)
  134. j2=substr(k,1,2)
  135. j3=substr(k,4,2)
  136. k=j1+'.'+j2+'.'+j3
  137. @ prow(),pcol() say "|"+k
  138. if ylf3='1'
  139. @ prow(),pcol() say "|"+"═Γ╝∞    "
  140. endif
  141. if ylf3='2'
  142. @ prow(),pcol() say "|"+"─┌╝∞    "
  143. endif
  144. if ylf3='3'
  145. @ prow(),pcol() say "|"+"╚½├µ╝∞╤Θ"
  146. endif
  147. @ prow(),pcol() say "|"+ylf4
  148. a=ylf6
  149. sele 3
  150. seek a         
  151. @ prow(),pcol() say "|"+dw2+"    |"
  152. sele 1
  153. cont
  154. l=l+1
  155. if .not. eof()
  156. if l>=50
  157. t=recno()
  158. p=p+1
  159. @ prow()+1,0 say ì
  160. "=================================================================ì
  161. ================================================================="
  162. ejec
  163. goto bott
  164. skip
  165. else
  166. @ prow()+1,0 say ì
  167. "|---------|----|------------|--------------|------|------------|--------|--------|------------------------------|------------ì
  168. ----|"
  169. l=l+1
  170. endif
  171. else
  172. @ prow()+1,0 say ì
  173. "==================================================================ì
  174. ================================================================"
  175. a1=.f.
  176. endif
  177. enddo 
  178. enddo a1
  179. set print on
  180. ? chr(13)
  181. set print off
  182. set device to screen
  183. close database
  184. a1=.t.
  185. retu
  186.