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

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