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

  1. clear
  2. set talk off
  3. set device to screen
  4. close database
  5. a='        '
  6. @ 4,20 say "╟δ╩Σ╚δ╜±╠∞╡─╚╒╞┌" get a pict 'xx.xx.xx'
  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 yl
  14. loca for (a-yl9)/365>=yl10
  15. c=recno()
  16. if eof()
  17. clear
  18. @ 4,20 say "├╗╙╨╙ª╠╘╠¡╡─╚▌╞≈"
  19. @ 6,20 clear
  20. wait '░┤╚╬╥Γ╝ⁿ╖╡╗╪' to w
  21. retu
  22. endif
  23. a1=.t.
  24. do while a1
  25. clear
  26. @ 1,1 say "╚▌╞≈▒α║┼  ╚▌╞≈├√│╞   └α▒≡  ╩╣╙├╚╒╞┌  ╥╤╩╣╙├─Ω╧▐  ì
  27. ╔Φ╝╞╩╣╙├─Ω╧▐"
  28. l=2
  29. goto c
  30. do while .not. eof()
  31. @ l,1 say " "+yl1
  32. @ l,8 say " "+yl2
  33. @ l,22 say " "+yl3
  34. b=dtoc(yl9)
  35. j1=substr(b,7,2)
  36. j2=substr(b,1,2)
  37. j3=substr(b,4,2)
  38. b=j1+'.'+j2+'.'+j3
  39. @ l,28 say " "+b
  40. b=(a-yl9)/365
  41. @ l,40 say " "+str(b,2)
  42. @ l,52 say " "+str(yl10,2)
  43. l=l+1
  44. cont
  45. if .not. eof()
  46. if l>=9
  47. c=recno()
  48. goto bott
  49. skip
  50. a1=.t.
  51. wait '░┤╚╬╥Γ╝ⁿ╝╠╨°' to w
  52. endif
  53. else
  54. a1=.f.
  55. endif
  56. enddo
  57. enddo a1
  58. wait '┤≥╙í┬≡(Y/N)' to w
  59. if w<>'y'
  60. a1=.t.
  61. retu
  62. endif
  63. set device to print 
  64. set print on
  65. set cons off
  66. ? chr(27)+"IJ"
  67. set print off
  68. set cons on
  69. loca for (a-yl9)/365>=yl10
  70. c=recno()
  71. p=1
  72. a1=.t.
  73. do while a1
  74. clear
  75. @ 1,55 say "╥╤╡╜╩╣╙├─Ω╧▐╡─╚▌╞≈" 
  76. @ 2,1 say "             "
  77. @ 3,114 say "╡┌"+str(p,2)+"╥│"
  78. @ 4,1 say ì
  79. "=========================================================================ì
  80. ===================================================="
  81. @ 5,1 say "|╚▌╞≈▒α║┼ |╚▌╞≈├√│╞    ì
  82. |└α▒≡|╫▄╓╪(╣½╜∩)|╤╣┴ª(╣½╜∩┴ª/cm*cm)|╬┬╢╚ C|╜Θ╓╩        |░▓╫░╡╪╡π  ì
  83.   |╩╣╙├╚╒╞┌|╥╤╩╣╙├─Ω╧▐|╔Φ╝╞╩╣╙├─Ω╧▐|"
  84. @ 6,1 say ì
  85. "|---------|------------|----|----------|------------------|------|ì
  86. ------------|------------|--------|----------|------------|"
  87. l=7
  88. goto c
  89. do while .not. eof()
  90. @ prow()+1,1 say "|"+yl1
  91. @ prow(),11 say "|"+yl2 
  92. @ prow(),24 say "|"+yl3
  93. @ prow(),29 say "|"+str(yl15,6)
  94. @ prow(),40 say "|"+str(yl21,3)
  95. @ prow(),59 say "|"+str(yl22,3)
  96. @ prow(),66 say "|"+yl23
  97. @ prow(),79 say "|"+yl29
  98. b=dtoc(yl9)
  99. j1=substr(b,7,2)
  100. j2=substr(b,1,2)
  101. j3=substr(b,4,2)
  102. b=j1+'.'+j2+'.'+j3
  103. @ prow(),92 say "|"+b
  104. b=(a-yl9)/365
  105. @ prow(),101 say "|"+str(b,2)
  106. @ prow(),112 say "|"+str(yl10,2)+"          |"
  107. l=l+1
  108. cont
  109. if .not. eof()
  110. if l>=50
  111. @ prow()+1,1 say ì
  112. "==================================================================ì
  113. ==========================================================="
  114. c=recno()
  115. p=p+1
  116. goto bott
  117. skip
  118. a1=.t.
  119. else
  120. @ prow()+1,1 say ì
  121. "|---------|------------|----|----------|------------------|------|ì
  122. ------------|------------|--------|----------|------------|"
  123. l=l+1
  124. endif
  125. else 
  126. a1=.f.
  127. @ prow()+1,1 say ì
  128. "==================================================================ì
  129. ===========================================================" 
  130. endif
  131. enddo 
  132. enddo a1
  133. set prin on
  134. ? chr(13)
  135. set print off
  136. set device to screen
  137. a1=.t.
  138. retu
  139.