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

  1. set talk off
  2. x0='                       '
  3. x1=0
  4. x2=0
  5. x3='      '
  6. clear
  7. x01=0
  8. @ 2,20 say '╖╜  ░╕  ╨≥  ║┼:' get x01
  9. @ 3,20 say '┤·▒φ▓·╞╖├√│╞,╣µ╕±:' get x0
  10. @ 4,20 say '╔Φ ▒╕ ╫▄ ═╢ ╫╩:' get x1
  11. @ 5,20 say '╔Φ ╝╞ ─Ω ▓· ┴┐:' get x2
  12. @ 6,20 say '╝╞  ┴┐  ╡Ñ  ╘¬:' get x3
  13. x4='      '
  14. @ 7,20 say '╡Ñ          ╬╗:' get x4
  15. read
  16. use c:xfx4
  17. repl all ys with '          ',dw with '        ',dj with 0,hl with 0
  18. m=1
  19. 1
  20. do while m<=4
  21. clear
  22. @ 2,10 say '╘¡▓─┴╧'+str(m,2)
  23. @ 2,20 say '├√    │╞:' get ys
  24. @ 4,20 say '╝╞┴┐╡Ñ╬╗:' get dw
  25. @ 5,20 say '╡Ñ    ╝█:' get dj
  26. @ 6,20 say '╡Ñ╘¬║─┴┐:' get hl
  27. read
  28. ma=' '
  29. @ 8,20 say '╒²╚╖┬≡(y/n)?' get ma
  30. read
  31. if ma='n'.or.ma='N'
  32. loop
  33. endif
  34. m=m+1
  35. repl  cb with dj*hl
  36. repl bd with x2*cb
  37. skip
  38. enddo
  39. sum next 4 cb,bd to a,b
  40. skip 
  41. repl cb with a,bd with b,ys with '╘¡▓─┴╧║╧╝╞'
  42. m=1
  43. 6
  44. do while m<=3
  45. clear
  46. @ 2,10 say '╚╝  ┴╧'+str(m,2)
  47. @ 2,20 say '├√    │╞:' get ys
  48. @ 4,20 say '╝╞┴┐╡Ñ╬╗:' get dw
  49. @ 5,20 say '╡Ñ    ╝█:' get dj
  50. @ 6,20 say '╡Ñ╘¬║─┴┐:' get hl
  51. read
  52. ma=' '
  53. @ 8,20 say '╒²╚╖┬≡(y/n)?' get ma
  54. read
  55. if ma='n'.or.ma='N'
  56. loop
  57. endif
  58. m=m+1
  59. repl cb with dj*hl
  60. repl bd with x2*cb
  61. skip
  62. enddo
  63. 6
  64. sum next 3 cb,bd to a,b
  65. skip 
  66. repl cb with a,bd with b,ys with '╚╝┴╧║╧╝╞'
  67. m=1
  68. use c:xfx4
  69. 10
  70. do while m<=3
  71. clear
  72. @ 2,10 say '╢»  ┴ª'+str(m,2)
  73. @ 2,20 say '├√    │╞:' get ys
  74. @ 4,20 say '╝╞┴┐╡Ñ╬╗:' get dw
  75. @ 5,20 say '╡Ñ    ╝█:' get dj
  76. @ 6,20 say '╡Ñ╘¬║─┴┐:' get hl
  77. read
  78. ma= ' '
  79. @ 8,20 say '╒²╚╖┬≡(y/n)?' get ma
  80. read
  81. if ma='n'.or.ma='N'
  82. loop
  83. endif
  84. m=m+1
  85. repl cb with dj*hl
  86. repl bd with x2*cb
  87. skip
  88. enddo
  89. 10
  90. sum next 3 cb,bd to a,b
  91. skip 
  92. repl cb with a,bd with b,ys with '╢»┴ª║╧╝╞'
  93. skip
  94. clear
  95. @ 2,10 say '╣ñ  ╫╩'
  96. @ 2,20 say '├√    │╞:' get ys
  97. @ 4,20 say '╝╞┴┐╡Ñ╬╗:' get dw
  98. @ 5,20 say '╡Ñ    ╝█:' get dj
  99. @ 6,20 say '╡Ñ╘¬║─┴┐:' get hl
  100. read
  101. ma=' '
  102. @ 8,20 say '╒²╚╖┬≡(y/n)?' get ma
  103. read
  104. if ma='n'.or.ma='N'
  105. loop
  106. endif
  107. repl cb with dj*hl
  108. repl gd with x2*cb,ys with '╣ñ    ╫╩'
  109. z1=0.00
  110. z2=0.00
  111. z3=0.00
  112. z4=0.00
  113. z5=0.00
  114. ma='n'
  115. do while ma='n'
  116. clear
  117. @ 2,20 say '╔Φ▒╕╒█╛╔╖╤╒█╛╔┬╩ú¿úÑú⌐:' get z1
  118. @ 3,20 say '┤≤╨▐└φ╗∙╜≡╗∙╜≡┬╩ú¿úÑú⌐:'get z2
  119. @ 4,20 say '─Ω╨▐└φ╖╤╨▐└φ╖╤╙├┬╩ú¿úÑú⌐:' get z3
  120. @ 5,20 say '╞Σ╦ⁿ╓º│÷ú¿úÑú⌐:' get z4
  121. @ 6,20 say '╞≤╥╡╣▄└φ╖╤ú¿úÑú⌐:' get z5
  122. read
  123. @ 8,24 say '╒²╚╖┬≡(y/n)?' get ma
  124. read
  125. enddo
  126. clear 
  127. @ 3,24 say '==================='
  128. @ 4,24 say ' ╟δ─·╔╘║ε,╒²╘┌╝╞╦π'
  129. @ 5,24 say '==================='
  130. 1
  131. repl next 13 hj with bd
  132. 14    
  133. repl hj with gd
  134. 15 
  135. repl gd with z1*x1/100
  136. 16
  137. repl gd with z2*x1/100
  138. 17
  139. repl gd with z3*x1/100
  140. 15
  141. repl next 3 hj with gd
  142. 1
  143. sum next 13 hj to a
  144. 14
  145. sum next 4 hj to b
  146. stor a/2+b to a
  147. 18
  148. repl hj with a
  149. 19
  150. repl gd with z4*a/100
  151. 20
  152. repl gd with z5*a/100
  153. 19
  154. repl next 2 hj with gd
  155. 18
  156. sum next 3 hj to c
  157. 21
  158. repl hj with c
  159. 1
  160. sum next 13 bd,gd to a,b
  161. 14
  162. sum next 7 bd,gd to a1,b1
  163. stor a/2+a1 to a
  164. stor b/2+b1 to b
  165. 21
  166. repl bd with a,gd with b,hj with c
  167. 1
  168. repl next 20 bfs with hj/c*100
  169. clear
  170. @ 3,24 say '==================='
  171. @ 4,24 say ' ╟δ─·╔╘║ε,╒²╘┌┤≥╙í'
  172. @ 5,24 say '==================='
  173. set devi to print 
  174. set print on
  175. @ 1,1 say '                            ▓·╞╖│╔▒╛╙Φ▓Γ▒φú¿╖╜░╕:'+str(x01,2)+'ú⌐'
  176. @ 2,1 say '                            ========================='
  177. @ 3,1 say '  '
  178. @ 4,1 say '┤·▒φ▓·╞╖├√│╞,╣µ╕±:'+x0
  179. @ 5,1 say  ' '
  180. @ 6,1 say '╔Φ▒╕╫▄═╢╫╩:'+str(x1,8)+'  ╔Φ╝╞─Ω▓·┴┐:'+str(x2,8)+'╝╞┴┐╡Ñ╘¬:'+x3+
  181.   ' ╡Ñ╬╗:'+x4
  182. @ 7,1 say ì
  183. '====================================================================ì
  184. ================='
  185. @ 8,1 say '|          |           ╡Ñ   ╘¬    │╔    ▒╛     |       ì
  186.   |         |         |      |'
  187. @ 9,1 say '| ╖╤╙├╥¬╦╪ ì
  188. |-----------------------------------|▒Σ╢»│╔▒╛ |╣╠╢¿│╔▒╛ | ║╧  ╝╞  | ╒╝úÑ |'
  189. @ 10,1 say '|          |╝╞┴┐╡Ñ╬╗| ╡Ñ  ╝█ |╡Ñ╘¬║─┴┐|╡Ñ╘¬│╔▒╛|       ì
  190.   |         |         |      |'
  191. @ 11,1 say ì
  192. '|==========|========|========|========|========|=========|=========ì
  193. |=========|======|'
  194. m=12
  195. 1
  196. to=1
  197. p='|'
  198. do while to<=14    
  199. @ m,1 say ì
  200. p+ys+p+dw+p+str(dj,8,2)+p+str(hl,8,2)+p+str(cb,8)+p+str(bd,9)+ì
  201. p+str(gd,9)+p+str(hj,9)+p+str(bfs,6,2)+p
  202. skip
  203. m=m+1
  204. if to=14
  205. @ m,1 say ì
  206. '|==============================================|=========|=========|
  207. =========|======|'
  208. else
  209. @ m,1 say ì
  210. '|----------|--------|--------|--------|--------|---------|---------ì
  211. |---------|------|'
  212. endif
  213. m=m+1
  214. to=to+1
  215. enddo
  216. @ m,1 say '|   ╔Φ▒╕╒█╛╔╖╤╒█╛╔┬╩:'+str(z1,4,1)+'úÑ'+'              ì
  217.       |'+str(bd,9)+p+str(gd,9)+p+str(hj,9)+p+str(bfs,6,2)+p
  218. m=m+1
  219. @ m,1 say ì
  220. '|----------------------------------------------|---------|---------ì
  221. |---------|------|'
  222. m=m+1
  223. skip
  224. @ m,1 say '|   ┤≤╨▐└φ╗∙╜≡╗∙╜≡┬╩:'+str(z2,4,1)+'úÑ'+'              ì
  225.       |'+str(bd,9)+p+str(gd,9)+p+str(hj,9)+p+str(bfs,6,2)+p
  226. m=m+1
  227. @ m,1 say ì
  228. '|----------------------------------------------|---------|---------ì
  229. |---------|------|'
  230. m=m+1
  231. skip
  232. @ m,1 say '|   ─Ω╨▐└φ╖╤╨▐└φ╖╤╙├┬╩:'+str(z3,4,1)+'úÑ'+'            ì
  233.       |'+str(bd,9)+p+str(gd,9)+p+str(hj,9)+p+str(bfs,6,2)+p
  234. m=m+1
  235. @ m,1 say ì
  236. '|----------------------------------------------|---------|---------ì
  237. |---------|------|'
  238. m=m+1
  239. skip
  240. @ m,1 say '|   ╨í            ╝╞:      '+'              ì
  241.       |'+str(bd,9)+p+str(gd,9)+p+str(hj,9)+p+str(bfs,6,2)+p
  242. m=m+1
  243. @ m,1 say ì
  244. '|----------------------------------------------|---------|---------ì
  245. |---------|------|'
  246. m=m+1
  247. skip
  248. @ m,1 say '|   ╞Σ  ╦ⁿ  ╓º  │÷:'+str(z4,4,1)+'úÑ'+'                ì
  249.       |'+str(bd,9)+p+str(gd,9)+p+str(hj,9)+p+str(bfs,6,2)+p
  250. m=m+1
  251. @ m,1 say ì
  252. '|----------------------------------------------|---------|---------ì
  253. |---------|------|'
  254. m=m+1
  255. skip
  256. @ m,1 say '|   ╞≤╥╡╣▄└φ╖╤:'+str(z5,4,1)+'úÑ'+'                    ì
  257.       |'+str(bd,9)+p+str(gd,9)+p+str(hj,9)+p+str(bfs,6,2)+p
  258. m=m+1
  259. skip
  260. @ m,1 say ì
  261. '|----------------------------------------------|---------|---------ì
  262. |---------|------|'
  263. m=m+1
  264. @ m,1 say '|   ║╧            ╝╞:      '+'              ì
  265.       |'+str(bd,9)+p+str(gd,9)+p+str(hj,9)+p+str(bfs,6,2)+p
  266. m=m+1
  267. @ m,1 say ì
  268. '====================================================================================='
  269. m=m+1
  270. @ m,1 say  ' '
  271. set print off 
  272. set devi to scre
  273.