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

  1. clear
  2. set talk off
  3. set device to screen
  4. close database
  5. a='        '
  6. @ 4,10 say "╟δ╩Σ╚δ╜±╠∞╡─╚╒╞┌" get a pict '99.99.99'
  7. read
  8. j1=substr(a,4,2)
  9. j2=substr(a,7,2)
  10. j3=substr(a,1,2)
  11. a=j1+'/'+j2+'/'+j3
  12. a=ctod(a)
  13. use yb
  14. loca for a-yb6>=yb5
  15. d=recno()
  16. if eof()
  17. clear
  18. @ 4,15 say "╗╣├╗╙╨╡╜╨ú▒φ╓▄╞┌╡─▒φ"
  19. @ 8,20 clear
  20. wait '░┤╚╬╥Γ╝ⁿ╖╡╗╪' to w
  21. retu
  22. endif
  23. a1=.t.
  24. do while a1
  25. clear
  26. @ 1,0 say "╥╟▒φ├√│╞           ╨═║┼           │÷│º║┼     ╛½╢╚╡╚╝╢   ì
  27. ╔╧┤╬╨ú▒φ╚╒╞┌  ╨ú▒φ╓▄╞┌"
  28. l=2
  29. goto d
  30. do while .not. eof()
  31. @ l,0 say " "+yb1
  32. @ l,14 say " "+yb2
  33. @ l,32 say " "+yb3
  34. @ l,47 say " "+yb4
  35. b=dtoc(yb6)
  36. j1=substr(b,7,2)
  37. j2=substr(b,1,2)
  38. j3=substr(b,4,2)
  39. b=j1+'.'+j2+'.'+j3
  40. @ l,57 say " "+b   
  41. @ l,70 say " "+str(yb5,4)
  42. l=l+1
  43. cont
  44. if .not. eof()
  45. if l>=9
  46. wait '░┤╚╬╥Γ╝ⁿ╝╠╨°' to w
  47. d=recno()
  48. goto bott
  49. skip
  50. a1=.t.
  51. endif
  52. else
  53. a1=.f.
  54. endif
  55. enddo 
  56. enddo a1
  57. wait '┤≥╙í┬≡(Y/N)' to w
  58. if w<>'y'
  59. a1=.t.
  60. retu
  61. endif
  62. clear
  63. @ 4,20 say "╒²╘┌┤≥╙íú¼╟δ╔╘║≥úí"
  64. set cons off
  65. set device to print 
  66. set print on
  67. set cons off
  68. ? chr(27)+"IJ"
  69. set print off
  70. set cons on
  71. loca for a-yb6>=yb5
  72. d=recno()
  73. p=1
  74. a1=.t.
  75. do while a1
  76. @ 1,40 say "╡╜╨ú▒φ╓▄╞┌╡─╥╟▒φ" 
  77. @ 2,1 say "                        "
  78. @ 3,70 say "╡┌"+str(p,2)+"╥│"
  79. @ 4,1 say ì
  80. "=================================================================ì
  81. ===================="
  82. @ 5,1 say "|╥╟▒φ├√│╞    |╥╟▒φ╨═║┼        |│÷│º║┼   ì
  83. |╛½╢╚╡╚╝╢|╩┬╙├┤╦▒φ╡─╔Φ▒╕║┼|╨ú▒φ╓▄╞┌|╣²╞┌╠∞╩²|"
  84. @ 6,1 say ì
  85. "|------------|----------------|---------|--------|----------------|--ì
  86. ------|--------|"
  87. l=7
  88. goto d
  89. do while .not. eof()
  90. @ prow()+1,1 say "|"+yb1
  91. @ prow(),14 say "|"+yb2
  92. @ prow(),31 say "|"+yb3
  93. @ prow(),41 say "|"+yb4
  94. @ prow(),50 say "|"+yb8
  95. @ prow(),67 say "|"+str(yb5,4)
  96. c=(a-yb6)-yb5
  97. @ prow(),76 say "|"+str(c,4)+"    |" 
  98. cont
  99. l=l+1
  100. if .not. eof()
  101. if l>=50
  102. @ prow()+1,1 say ì
  103. "=================================================================ì
  104. ===================="
  105. d=recno()
  106. p=p+1
  107. goto bott
  108. skip
  109. ejec
  110. a1=.t.
  111. else
  112. @ prow()+1,1 say ì
  113. "|------------|----------------|---------|--------|----------------|--ì
  114. ------|--------|"
  115. l=l+1
  116. endif
  117. else
  118. @ prow()+1,1 say ì
  119. "=================================================================ì
  120. ===================="
  121. a1=.f.
  122. endif
  123. enddo 
  124. enddo a1
  125. set print on
  126. ? chr(13)
  127. set print off
  128. set device to screen
  129. a1=.t.
  130. set cons on
  131. retu
  132.