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

  1. clear
  2. set talk off
  3. set device to screen
  4. close database
  5. sele 2
  6. use bjh           
  7. sele 1
  8. use ysg
  9. a='     '
  10. @ 4,10 say "╟δ╩Σ╚δ─Ω╖▌║═╘┬╖▌:" get a pict 'xx.xx'
  11. read
  12. clear
  13. sele 2
  14. count to x               
  15. @ 1,0 say "─Ω.╘┬  ╩┬╣╩┤╬╩²  ╓≈╥¬╔Φ▒╕╠¿╩²  ╩┬╣╩┬╩  ═ú╗·╠¿╩▒  ╓▒╜╙╦≡╩º  ╝Σ╜╙╦≡╩º  ì
  16.     ╨▐└φ╖╤"
  17. sele 1
  18. loca for y1<=a
  19. l=2
  20. do while .not. eof()
  21. @ l,0 say " "+y1
  22. @ l,9 say " "+str(y2,5)
  23. @ l,17 say " "+str(x,6)
  24. e=y2*100/x
  25. repl y7 with x
  26. @ l,26 say " "+str(e,8,2)
  27. @ l,34 say " "+str(y3,8,1)
  28. @ l,45 say " "+str(y4,10,2)
  29. @ l,56 say " "+str(y5,10,2)
  30. @ l,67 say " "+str(y6,10,2)
  31. l=l+1
  32. cont
  33. enddo
  34. wait '┤≥╙í┬≡(Y/N)' to w
  35. if w<>'y'
  36. close database
  37. retu
  38. endif
  39. set device to print 
  40. ? chr(27)+"IJ"
  41. @ prow()+1,30 say "╔Φ▒╕╩┬╣╩╞╡┬╩"
  42. @ prow()+1,1 say "             "
  43. @ prow()+1,1 say ì
  44. "=================================================================ì
  45. ================="  
  46. @ prow()+1,1 say "|     |        |            |        |            ╩┬╣╩╦≡╩º             ì
  47.           |" 
  48. @ prow()+1,1 say "|─Ω.╘┬|╩┬╣╩┤╬╩²|╓≈╥¬╔Φ▒╕╠¿╩²|╩┬╣╩╞╡┬╩ì
  49. |----------|----------|----------|----------|"
  50. @ prow()+1,1 say "|     |        |            |        |═ú╗·╠¿╩▒  |╓▒╜╙╦≡╩º  ì
  51. |╝Σ╜╙╦≡╩º  |╨▐└φ╖╤    |"
  52. @ prow()+1,1 say ì
  53. "|-----|--------|------------|--------|----------|----------|----------|-------ì
  54. ---|"
  55. loca for y1<=a
  56. do while .not. eof()
  57. @ prow()+1,1 say "|"+y1
  58. @ prow(),7 say "|"+str(y2,5)
  59. @ prow(),16 say "|"+str(y7,6)
  60. e=y2*100/y7
  61. @ prow(),29 say "|"+str(e,8,2)
  62. @ prow(),38 say "|"+str(y3,8,1)
  63. @ prow(),49 say "|"+str(y4,10,2)
  64. @ prow(),60 say "|"+str(y5,10,2)
  65. @ prow(),71 say "|"+str(y6,10,2)+"|"
  66. cont
  67. if eof()
  68. @ prow()+1,1 say ì
  69. "=================================================================ì
  70. ================="
  71. else
  72. @ prow()+1,1 say ì
  73. "|-----|--------|------------|--------|----------|----------|-----ì
  74. -----|----------|"
  75. endif
  76. enddo 
  77. set print on
  78. ? chr(13)
  79. set print off
  80. set device to screen
  81. close database
  82. retu
  83.