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

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