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

  1. clear
  2. set talk off
  3. set device to screen
  4. close database
  5. sele 1
  6. use ygz
  7. sele 2
  8. use ysg index ysg1
  9. a='     '
  10. @ 4,10 say "╟δ╩Σ╚δ─Ω╖▌,╘┬╖▌" get a pict 'xx.xx'
  11. read
  12. sele 1
  13. loca for g1<=a
  14. a1=.t.
  15. do while a1
  16. clear
  17. @ 1,0 say "─Ω,╘┬  ╓≈╥¬╔Φ▒╕╠¿╩²  ╝╞╗«╙Φ╨▐═ú╗·╩▒╝Σ  ì
  18. ╣╩╒╧,╩┬╣╩═ú╗·╩▒╝Σ  ╫▄═ú╗·╩▒╝Σ  ╨º└√╙├┬╩"
  19. l=2
  20. do while .not. eof()
  21. @ l,0 say " "+g1
  22. @ l,6 say " "+str(g5,5)
  23. @ l,20 say " "+str(g4,8,1)
  24. c=g1
  25. sele 2
  26. seek c       
  27. e=y3
  28. sele 1
  29. e=e+g3
  30. @ l,38 say " "+str(e,8,1)
  31. e=e+g4
  32. @ l,58 say " "+str(e,8,1)
  33. e=g6/g7*100
  34. @ l,68 say " "+str(e,8,2)
  35. cont
  36. l=l+1
  37. if .not. eof()
  38. if l>=8
  39. wait '░┤╚╬╥Γ╝ⁿ╝╠╨°' to w
  40. exit
  41. endif
  42. else
  43. a1=.f.
  44. endif
  45. enddo
  46. enddo a1
  47. wait '┤≥╙í┬≡(Y/N)' to w
  48. if w<>'y'
  49. close database
  50. a1=.t.
  51. retu
  52. endif
  53. clear
  54. @ 4,20 say "╒²╘┌┤≥╙íú¼╟δ╔╘║≥úí"
  55. set device to print 
  56. set cons off
  57. set print on
  58. ? chr(27)+"IJ"
  59. set print off
  60. @ prow()+1,20 say "╔Φ▒╕╓╞╢╚╠¿╩▒└√╙├┬╩"
  61. @ prow()+1,1 say "                       "
  62. @ prow()+1,1 say ì
  63. "=============================================================ì
  64. ============"
  65. @ prow()+1,1 say "|     |╓≈╥¬╔Φ▒╕|               ═ú╗·╠¿╩▒           ì
  66. |╫▄ ═ú ╗·|╓╞╢╚╠¿╩▒└√  |"
  67. @ prow()+1,1 say "|─Ω.╘┬|        ì
  68. |----------------------------------|        |            |"
  69. @ prow()+1,1 say "|     |╠¿    ì
  70. ╩²|╝╞╗«╙Φ╨▐═ú╗·╩▒╝Σ|╩┬╣╩,╣╩╒╧═ú╗·╩▒╝Σ|╩▒    ╝Σ|╙├        ┬╩|"
  71. @ prow()+1,1 say ì
  72. "|-----|--------|----------------|-----------------|--------|---ì
  73. ---------|"
  74. sele 1
  75. loca for g1<=a
  76. do while .not. eof()
  77. @ prow()+1,1 say "|"+g1
  78. @ prow(),7 say "|"+str(g5,5)
  79. @ prow(),16 say "|"+str(g4,8,1)
  80. c=g1
  81. sele 2
  82. loca for y1=c
  83. e=y3
  84. sele 1
  85. e=e+g3
  86. @ prow(),33 say "|"+str(e,8,1)
  87. e=e+g4
  88. @ prow(),51 say "|"+str(e,8,1)
  89. e=g6/g7*100
  90. @ prow(),60 say "|"+str(e,6,2)+"      |"
  91. cont
  92. if .not. eof()
  93. @ prow()+1,1 say ì
  94. "|-----|--------|----------------|-----------------|--------|-ì
  95. -----------|"
  96. else
  97. @ prow()+1,1 say ì
  98. "=================================================================ì
  99. ========"
  100. endif
  101. enddo
  102. @ prow()+1,1 say ì
  103. "╔Φ▒╕╓╞╢╚╠¿╩▒└√╙├┬╩ú╜╓≈╥¬╔Φ▒╕╘┬╩╡┐¬╠¿╩▒ú»╚╒└·╝╞╗«╘╦╫¬╠¿╩▒"
  104. set print on
  105. ? chr(13)
  106. set print off
  107. set device to screen
  108. a1=.t.
  109. set cons on
  110. retu
  111.  
  112.