home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 6 / 06.iso / b / b077 / 1.img / SBGL.ZIP / YH8.PRG < prev    next >
Encoding:
Text File  |  1980-01-01  |  2.4 KB  |  128 lines

  1. clear
  2. set talk off
  3. set device to screen
  4. close database
  5. use yjh
  6. if eof() .and. bof() 
  7. clear
  8. @ 4,10 say "╗╣├╗┼┼─Ω╗╗╙═╝╞╗«ú¼╟δ╖╡╗╪┼┼─Ω╗╗╙═╝╞╗«"
  9. @ 6,1 clear
  10. wait "░┤╚╬╥Γ╝ⁿ╖╡╗╪" to w
  11. retu
  12. endif
  13. a1=.t.
  14. do while a1
  15. clear
  16. @ 1,1 say "╔Φ▒╕▒α║┼  ╚≤╗¼╡π▒α║┼   ╚≤╗¼╡π▓┐╬╗           ╗╗╙═╩▒╝Σ  ╗¼╙═├√│╞    ì
  17. ╗╗╙═┴┐(Kg)"
  18. l=2
  19. do while .not. eof()
  20. @ l,1 say " "+y1
  21. @ l,12 say " "+y2 
  22. @ l,24 say " "+y6 
  23. e=dtoc(y3)
  24. j1=substr(e,7,2)
  25. j2=substr(e,1,2)
  26. j3=substr(e,4,2)
  27. e=j1+'.'+j2+'.'+j3
  28. @ l,44 say " "+e
  29. @ l,56 say " "+y4
  30. @ l,67 say " "+str(y5,6,2)
  31. l=l+1
  32. skip
  33. if .not. eof()
  34. if l>=8
  35. wait '░┤╚╬╥Γ╝ⁿ╝╠╨°' to w
  36. exit
  37. endif
  38. else
  39. a1=.f.
  40. endif
  41. enddo
  42. enddo a1
  43. wait '┤≥╙í┬≡(Y/N)' to w
  44. if w<>'y'
  45. close database
  46. a1=.t.
  47. retu
  48. endif
  49. close database
  50. set device to print 
  51. set print on
  52. set cons off
  53. ? chr(27)+"IJ"
  54. set print off
  55. set cons on
  56. sele 1
  57. use sb index sb1
  58. sele 2
  59. use yjh
  60. p=1
  61. a1=.t.
  62. do while a1
  63. a=dtoc(y3)
  64. a=substr(a,7,2)
  65. @ prow()+1,40 say "  "+a+"─Ω╔Φ▒╕╗╗╙═╝╞╗«"
  66. @ prow()+1,40 say "  "+"~~~~~~~~~~~~~~~~~~"
  67. @ prow()+1,1 say "                                                  ì
  68.                                                    "
  69. @ prow()+1,90 say "╡┌"+str(p,2)+"╥│"
  70. @ prow()+1,1 say ì
  71. "=================================================================ì
  72. ==================================="
  73. @ prow()+1,1 say "|╔Φ▒╕▒α║┼ |╔Φ▒╕├√│╞        |░▓╫░╡╪╡π    ì
  74. |╚≤╗¼╡π▒α║┼|╚≤╗¼▓┐╬╗        |╚≤╗¼╙═├√│╞|╙ª╗╗╙═╚╒╞┌|╙ª╗╗╙═┴┐|"
  75. @ prow()+1,1 say ì
  76. "|---------|----------------|------------|----------|-------------ì
  77. ---|----------|----------|--------|"
  78. l=6
  79. do while .not. eof()
  80. @ prow()+1,1 say "|"+y1
  81. a=y1
  82. sele 1
  83. seek a
  84. @ prow(),11 say "|"+sb3
  85. @ prow(),28 say "|"+sb29
  86. sele 2
  87. @ prow(),41 say "|"+y2
  88. @ prow(),52 say "|"+y6
  89. @ prow(),69 say "|"+y4
  90. e=dtoc(y3)
  91. j1=substr(e,7,2)
  92. j2=substr(e,1,2)
  93. j3=substr(e,4,2)
  94. e=j1+'.'+j2+'.'+j3
  95. @ prow(),80 say "|"+e
  96. @ prow(),91 say "|"+str(y5,6,2)+"  |"
  97. l=l+1
  98. skip
  99. if .not. eof()
  100. if l>=50
  101. @ prow()+1,1 say ì
  102. "=================================================================ì
  103. ==================================="
  104. p=p+1
  105. ejec
  106. exit
  107. else
  108. @ prow()+1,1 say ì
  109. "|---------|----------------|------------|----------|-------------ì
  110. ---|----------|----------|--------|"
  111. l=l+1
  112. endif
  113. else
  114. @ prow()+1,1 say ì
  115. "=================================================================ì
  116. ==================================="
  117. a1=.f.
  118. endif
  119. enddo 
  120. enddo a1
  121. set print on
  122. ? chr(13)
  123. set print off
  124. set device to screen
  125. a1=.t.
  126. retu
  127.  
  128.