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

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