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

  1. set talk off
  2. set device to screen
  3. close database
  4. use ht
  5. a='        '
  6. clear
  7. @ 4,13 say "╟δ╩Σ╚δ╡▒╟░╚╒╞┌" get a pict 'xx.xx.xx'
  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 ht6>ht12 .and. ht9<=a 
  15. if eof() 
  16. clear
  17. @ 3,26 say '============================='
  18. @ 4,26 say "  ╬▐╤╙╞┌╜╗╗⌡╡─║╧═¼,╟δ░┤╗╪│╡"
  19. @ 5,26 say '============================='
  20. wait '  '
  21. retu
  22. endif  
  23. clear
  24. @ 0,1 say "╢⌐╗⌡╡Ñ║┼  ╔Φ▒╕├√│╞        ╢⌐╗⌡╩²┴┐  ╥╤╡╜╗⌡┴┐  ╙ª╜╗╗⌡╞┌  ╣²╞┌╠∞╩²     │º╖╜"
  25. l=1
  26. do while .not. eof()
  27. @ l,0 say " "+ht1
  28. @ l,9 say " "+ht2
  29. @ l,26 say " "+str(ht6,4)
  30. @ l,36 say " "+str(ht12,4)
  31. b=dtoc(ht9)
  32. j1=substr(b,7,2)
  33. j2=substr(b,1,2)
  34. j3=substr(b,4,2)
  35. b=j1+'.'+j2+'.'+j3
  36. @ l,45 say " "+b
  37. c=a-ht9
  38. @ l,54 say " "+str(c,6)
  39. @ l,63 say " "+ht7
  40. l=l+1
  41. cont
  42. if eof().or.l>=9
  43. wait '                               ***░┤╗╪│╡***'
  44. exit
  45. endif
  46. enddo
  47. clear
  48. w=' '
  49. @ 4,26 say  '┤≥╙í┬≡(Y/N)' get w
  50. read
  51. if w<>'y'
  52. retu
  53. endif
  54. clear
  55. @ 3,26 say '===================='
  56. @ 4,26 say ' ╟δ─·╔╘║ε,╒²╘┌┤≥╙í'
  57. @ 5,26 say '===================='
  58. set device to print 
  59. set print on
  60. set cons off
  61. ? chr(27)+"IJ"
  62. set cons on
  63. set print off
  64. loca all for ht6>ht12 .and. ht9<=a
  65. d=recno()
  66. p=1
  67. do while .not.eof()
  68. @ prow()+1,50 say '╔Φ▒╕║╧═¼┤▀╗⌡╡Ñ'
  69. @ prow()+1,1 say "                   "
  70. @ prow()+1,105 say "╡┌"+str(p,2)+"╥│"
  71. @ prow()+1,1 say ì
  72. "=================================================================ì
  73. ======================================================="
  74. @ prow()+1,1 say "|╢⌐╗⌡╡Ñ║┼ |╔Φ▒╕├√│╞        |╨═║┼                ì
  75. |╡Ñ╝█    ì
  76. |╢⌐╗⌡╩²┴┐|╥╤╡╜╗⌡┴┐|╢⌐╗⌡╚╒╞┌|╙ª╡╜╗⌡╞┌|╣²╞┌╠∞╩²|╣⌐╙ª│º╖╜        |"
  77. @ prow()+1,1 say ì
  78. "|---------|----------------|--------------------|--------|-------ì
  79. -|--------|--------|--------|--------|-----------ì
  80. -----|"
  81. l=1
  82. do while .not. eof().and.l<=50
  83. @ prow()+1,1 say "|"+ht1
  84. @ prow(),11 say "|"+ht2
  85. @ prow(),28 say "|"+ht3
  86. @ prow(),49 say "|"+str(ht5,8,2)
  87. @ prow(),58 say "|"+str(ht6,4)
  88. @ prow(),67 say "|"+str(ht12,4)
  89. b=dtoc(ht8)
  90. j1=substr(b,7,2)
  91. j2=substr(b,1,2)
  92. j3=substr(b,4,2)
  93. b=j1+'.'+j2+'.'+j3
  94. @ prow(),76 say "|"+b
  95. b=dtoc(ht9)
  96. j1=substr(b,7,2)
  97. j2=substr(b,1,2)
  98. j3=substr(b,4,2)
  99. b=j1+'.'+j2+'.'+j3
  100. @ prow(),85 say "|"+b
  101. c=a-ht9
  102. @ prow(),94 say "|"+str(c,6)
  103. @ prow(),103 say "|"+ht7+"|"
  104. cont
  105. if l=50.or.eof()
  106. @ prow()+1,1 say ì
  107. "=================================================================ì
  108. ======================================================="
  109. @ prow()+3,0 say ' '
  110. else                
  111. @ prow()+1,1 say ì
  112. "|---------|----------------|--------------------|--------|-------ì
  113. -|--------|--------|--------|--------|----------------|"
  114. endif
  115. l=l+1
  116. enddo
  117. p=p+1
  118. l=1
  119. enddo
  120. set print on
  121. ? chr(13)
  122. set print off
  123. set device to screen
  124. retu
  125.