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

  1. set talk off
  2. set inte off
  3. set device to screen
  4. stor "y" to xu
  5. do while xu="y"
  6. stor "         " to m
  7. clear
  8. @ 3,10 say "╟δ╩Σ╚δ╓≈╗·▒α║┼:" get m
  9. read
  10. use fj
  11. loca all for fj1=m                
  12. cf=recno()
  13. if eof()
  14. clear
  15. @ 3,27 say "--------------------"
  16. @ 4,27 say "  ╬▐ ┤╦ú¿└αú⌐╔Φ ▒╕ " 
  17. @ 5,27 say "--------------------"
  18. else 
  19. m1=trim(m)
  20. do  while .not.eof()
  21. do fjxs
  22. cont 
  23. enddo
  24. stor "y" to dy
  25. clear
  26. @ 3,27 say "-------------------------"
  27. @ 4,27 say "  ╥¬ ┤≥ ╙í ┬≡ (y/n) ?  " get dy
  28. @ 5,27 say "-------------------------"
  29. read
  30. set marg to 30
  31. do  while dy='y'
  32. clear 
  33. name='      '
  34. name1='      '
  35. data='        '
  36. @ 3,20 say '╟δ╩Σ╚δ: ╓╞ ▒φ ╚╦ ╨╒ ├√:' get name
  37. @ 4,20 say '        ╓≈ ╣▄ ╚╦ ╨╒ ├√:' get name1
  38. @ 5,20 say '        ╓╞  ▒φ  ╚╒  ╞┌:' get data pict '99.99.99'
  39. read
  40. stor '|' to s
  41. goto cf
  42. hang=1
  43. ye=1
  44. clear
  45. @ 3,27 say "--------------------"
  46. @ 4,27 say " ╟δ─·╔╘║ε,╒²╘┌┤≥╙í"
  47. @ 5,27 say "--------------------"       
  48. set cons off
  49. set print on
  50. ? chr(27)+'IJ'
  51. set devi to print
  52. @ 1,35 say "&m1"+"║┼╓≈╗·╡─╕¿╗·╟σ╡Ñ"
  53. set print off
  54. set print on 
  55. ? chr(27)+'II'
  56. set print off
  57. set device to print
  58. @ prow()+1,150 say '╓╞▒φ╚╒╞┌:'+data
  59. do while .not.eof()
  60. if hang>=58
  61. @ prow()+1,1 say "============================================;
  62. ========================================================================;
  63. ========================================================="
  64. @ prow()+1,140 say "╓≈╣▄:"+name1
  65. @ prow(),155 say "╓╞▒φ:"+name
  66. @ prow()+1,80 say '╡┌ '+str(ye,2)+' ╥│'
  67. @ prow()+11,0 say ' '
  68. ye=ye+1
  69. hang=0
  70. endif
  71. @ prow()+1,1 say "============================================;
  72. ========================================================================;
  73. ========================================================="
  74. @ prow()+1,1 say "|╓≈╗·▒α║┼ |    ╕¿╗·├√│╞    |    ╨═    ║┼    ;
  75. |     ╣µ      ╕±     |    ╔·▓·─▄┴ª    | ╬╗   ║┼ |   ╓╞  ╘∞  │º   |  │÷│º║┼  ;
  76. |░▓╫░╚╒╞┌|═╢▓·╚╒╞┌| ═╝    ║┼ |╩²┴┐| ╦┘▒╚ | ╕¿╗·╘¡╓╡ |"
  77. do while .not.eof().and.hang<58
  78. @ prow()+1,1 say "|---------|----------------|----------------;
  79. |--------------------|----------------|---------|----------------|----------;
  80. |--------|--------|----------|----|------|----------|"
  81. a5=dtoc(fj9)
  82. j1=substr(a5,7,2)
  83. j2=substr(a5,1,2)
  84. j3=substr(a5,4,2)
  85. a5=j1+'.'+j2+'.'+j3
  86. a6=dtoc(fj10)
  87. j1=substr(a6,7,2)
  88. j2=substr(a6,1,2)
  89. j3=substr(a6,4,2)
  90. a6=j1+'.'+j2+'.'+j3
  91. @ prow()+1,1 say s+fj1+s+fj2+s+fj3+s+fj4+s+fj5+s+fj6+s+fj7+s+fj8;
  92. +s+a5+s+a6+s+fj11+s+str(fj12,2)+'  '+s+fj13+s+str(fj14,10,2)+s
  93. cont
  94. hang=hang+1
  95. enddo 
  96. enddo
  97. @ prow()+1,1 say "============================================;
  98. ========================================================================;
  99. ========================================================="
  100. @ prow()+1,140 say "╓≈╣▄:"+name1
  101. @ prow(),155 say "╓╞▒φ:"+name
  102. @ prow()+1,80 say '╡┌ '+str(ye,2)+' ╥│'
  103. @ prow()+1,1 say " "
  104. set print on 
  105. ? chr(7)
  106. set print off
  107. set device to screen
  108. clear
  109. @ 3,27 say "----------------------------"
  110. @ 4,27 say "  ╝╠ ╨° ┤≥ ╙í ┬≡ (y/n) ?  " get dy
  111. @ 5,27 say "----------------------------"
  112. read
  113. enddo
  114. endif
  115. clear
  116. @ 3,27 say "----------------------------"
  117. @ 4,27 say "  ╝╠ ╨° ▓Θ ╤» ┬≡ (y/n) ?  " get xu
  118. @ 5,27 say "----------------------------"
  119. read
  120. enddo
  121. set talk on
  122. set marg to 0
  123. xu='y'
  124. return
  125.  
  126.  
  127.  
  128.  
  129.