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

  1. clear
  2. set talk off
  3. set device to screen
  4. close database
  5. a1=.t.
  6. do while a1
  7. clear
  8. @ 1,10 say "**********************╩²╛▌┐Γ╡─╔╛│²**********************"
  9. @ 2,10 say "ú░ú«═╦│÷                    ú▒ú«╣╩╒╧┐Γ"
  10. @ 3,10 say "ú▓ú«╩┬╣╩┐Γ                  ú│ú«╝╞╗«╨▐└φ┐Γ"
  11. @ 4,10 say "ú┤ú«╘┬╣╩╒╧┐Γ                ú╡ú«╘┬╩┬╣╩┐Γ"
  12. @ 5,10 say "ú╢ú«─Ω╔Φ▒╕╣╩╒╧┐Γ            ú╖ú«╘┬═≥╘¬▓·╓╡╬¼╨▐╖╤╙├┬╩┐Γ"
  13. @ 6,10 say "ú╕ú«▒¿╖╧╔Φ▒╕┤µ╖┼┐Γ          ú╣ú«╣╪╝ⁿ╔Φ▒╕╘╦╫¬╠¿╩▒┐Γ"
  14. @ 7,10 say "ú┴ú«╤╣┴ª╚▌╞≈╝∞╨▐╖┤└í┐Γ      ú┬ú«╔Φ▒╕╫█║╧▒¿▒φ"
  15. @ 8,10 say "ú├ú«╣▄╡└╝∞╨▐╝╟┬╝┐Γ"
  16. @ 9,10 say "*********************************************************"
  17. wait '          ╟δ╩Σ╚δ╤í╘±║┼(0,1,2,3,4,5,6,7,8,9,a,b,c,d):' to w
  18. do case 
  19. case w='0'
  20. retu
  21. case w='b'
  22. clear
  23. c='     '
  24. d='     '
  25. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝╚╒╞┌:" get c pict '99.99'
  26. @ 5,10 say "╓╒╓╣╚╒╞┌:" get d pict '99.99'
  27. read
  28. c1=c
  29. c2=d
  30. b='bb.'
  31. e='b20'
  32. clear
  33. @ 4,10 say c1+"------"+c2+"╞┌╝Σ╡─╘┬╫█║╧▒¿▒φ╥╤▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼░┤╞Σ╦ⁿ╝ⁿ╖╡╗╪"
  34. wait '  ' to q
  35. if q='y'
  36. do bf1.prg
  37. endif
  38. case w='1'
  39. b='gz.'
  40. clear
  41. c='        '
  42. d='        '
  43. @ 4,15 say "╟δ╩Σ╚δ╞≡╩╝╚╒╞┌:" get c pict '99.99.99'
  44. @ 5,15 say "╓╒╓╣╚╒╞┌:" get d pict '99.99.99'
  45. read
  46. c1=c
  47. c2=d
  48. j1=substr(c,4,2)
  49. j2=substr(c,7,2)
  50. j3=substr(c,1,2)
  51. c=j1+'/'+j2+'/'+j3
  52. c=ctod(c)
  53. j1=substr(d,4,2)
  54. j2=substr(d,7,2)
  55. j3=substr(d,1,2)
  56. d=j1+'/'+j2+'/'+j3
  57. d=ctod(d)
  58. e='gz3'
  59. clear
  60. @ 4,15 say c1+"------"+c2+"╞┌╝Σ╡─╣╩╒╧▒╕╖▌┴╦┬≡ú┐░┤ú┘╔╛│²ú¼╞Σ╦ⁿ╝ⁿ╖╡╗╪"
  61. wait '           ' to q
  62. if q='y'
  63. do bf1.prg
  64. endif
  65. case w='2'
  66. clear
  67. c='        '
  68. d='        '
  69. @ 4,15 say " ╟δ╩Σ╚δ╞≡╩╝╚╒╞┌:" get c pict '99.99.99'
  70. @ 5,15 say " ╓╒╓╣╚╒╞┌:" get d pict '99.99.99'
  71. read
  72. c1=c
  73. c2=d
  74. b='sg.'
  75. j1=substr(c,4,2)
  76. j2=substr(c,7,2)
  77. j3=substr(c,1,2)
  78. c=j1+'/'+j2+'/'+j3
  79. c=ctod(c)
  80. j1=substr(d,4,2)
  81. j2=substr(d,7,2)
  82. j3=substr(d,1,2)
  83. d=j1+'/'+j2+'/'+j3
  84. d=ctod(d)
  85. e='sg2'
  86. clear
  87. @ 4,5 say c1+"------"+c2+"╞┌╝Σ╡─╩┬╣╩╩²╛▌╥╤▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼╞Σ╦ⁿ╝ⁿ╖╡╗╪" 
  88. wait '   ' to q
  89. if q='y'
  90. do bf1.prg 
  91. endif
  92. case w='3'
  93. clear
  94. c='        '
  95. d='        '
  96. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝╚╒╞┌:" get c pict '99.99.99'
  97. @ 5,10 say "╓╒╓╣╚╒╞┌:" get d pict '99.99.99'
  98. read
  99. c1=c
  100. c2=d
  101. b='jf.'
  102. j1=substr(c,4,2)
  103. j2=substr(c,7,2)
  104. j3=substr(c,1,2)
  105. c=j1+'/'+j2+'/'+j3
  106. c=ctod(c)
  107. j1=substr(d,4,2)
  108. j2=substr(d,7,2)
  109. j3=substr(d,1,2)
  110. d=j1+'/'+j2+'/'+j3
  111. d=ctod(d)
  112. e='jf3'
  113. clear
  114. @ 4,1 say ì
  115. c1+"------"+c2+"╞┌╝Σ╡─╝╞╗«╨▐└φ╩²╛▌╥╤▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼╞Σ╦ⁿ╝ⁿ╖╡╗╪"
  116. wait '  ' to q
  117. if q='y'
  118. do bf1.prg 
  119. endif
  120. case w='4'
  121. clear 
  122. c='     '
  123. d='     '
  124. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝─Ω╘┬:" get c pict '99.99'
  125. @ 5,10 say "╓╒╓╣─Ω╘┬:" get d pict '99.99'
  126. read
  127. c1=c
  128. c2=d
  129. b='ygz.'
  130. e='g1'
  131. clear
  132. @ 4,8 say c1+"------"+c2+"╞┌╝Σ╡─╘┬╣╩╒╧╩²╛▌╥╤▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼╞Σ╦ⁿ╝ⁿ╖╡╗╪"
  133. wait '  ' to q
  134. if q='y'
  135. do bf1.prg 
  136. endif
  137. case w='5'
  138. clear
  139. c='     '
  140. d='     '
  141. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝─Ω╘┬:" get c pict '99.99'
  142. @ 5,10 say "╓╒╓╣─Ω╘┬:" get d pict '99.99'
  143. read
  144. c1=c
  145. c2=d
  146. b='ysg.'
  147. e='y1'
  148. clear
  149. @ 4,7 say c1+"------"+c2+"╞┌╝Σ╡─╘┬╩┬╣╩╩²╛▌╥╤▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼╞Σ╦ⁿ╝ⁿ╖╡╗╪"
  150. wait '  ' to q
  151. if q='y'
  152. do bf1.prg 
  153. endif
  154. case w='6'
  155. clear
  156. c='  '
  157. d='  '
  158. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝─Ω╖▌:" get c pict '99'
  159. @ 5,10 say "╓╒╓╣─Ω╖▌:" get d pict '99'
  160. read 
  161. c1=c
  162. c2=d
  163. b='ngz.'
  164. e='ngz1'
  165. clear
  166. @ 4,10 say ì
  167. c1+"------"+c2+"╞┌╝Σ╡──Ω╣╩╒╧╩²╛▌╥╤▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼░┤╞Σ╦ⁿ╝ⁿ╖╡╗╪"
  168. wait '  ' to q
  169. if q='y'
  170. do bf1.prg 
  171. endif
  172. case w='7'
  173. clear
  174. c='     '
  175. d='     '
  176. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝─Ω╘┬:" get c pict '99.99'
  177. @ 5,10 say "╓╒╓╣─Ω╘┬:" get d pict '99.99'
  178. read 
  179. c1=c
  180. c2=d
  181. b='fyl.'
  182. e='f1'
  183. clear
  184. @ 4,0 say ì
  185. c1+"------"+c2+"╞┌╝Σ╡─╘┬═≥╘¬▓·╓╡╬¼╨▐╖╤╙├┬╩▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼░┤╞Σ╦ⁿ╝ⁿì
  186. ╖╡╗╪"
  187. wait '  ' to q
  188. if q='y'
  189. do bf1.prg
  190. endif
  191. case w='8'
  192. clear
  193. c='        '
  194. d='        '
  195. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝╚╒╞┌:" get c pict '99.99.99'
  196. @ 5,10 say "╓╒╓╣╚╒╞┌:" get d pict '99.99.99'
  197. read
  198. c1=c
  199. c2=d
  200. b='bfs.'
  201. e='bfs12'
  202. j1=substr(c,4,2)
  203. j2=substr(c,7,2)
  204. j3=substr(c,1,2)
  205. c=j1+'/'+j2+'/'+j3
  206. c=ctod(c)
  207. j1=substr(d,4,2)
  208. j2=substr(d,7,2)
  209. j3=substr(d,1,2)
  210. d=j1+'/'+j2+'/'+j3
  211. d=ctod(d)
  212. clear
  213. @ 4,1 say ì
  214. c1+"------"+c2+"╞┌╝Σ╡─▒¿╖╧╔Φ▒╕▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼░┤╞Σ╦ⁿ╝ⁿ╖╡╗╪"
  215. wait '  ' to q
  216. if q='y'
  217. do bf1.prg
  218. endif
  219. case w='a'
  220. clear
  221. c='        '
  222. d='        '
  223. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝╚╒╞┌:" get c pict '99.99.99'
  224. @ 5,10 say "╓╒╓╣╚╒╞┌:" get d pict '99.99.99'
  225. read
  226. c1=c
  227. c2=d
  228. b='ylf.'
  229. e='ylf2'
  230. j1=substr(c,4,2)
  231. j2=substr(c,7,2)
  232. j3=substr(c,1,2)
  233. c=j1+'/'+j2+'/'+j3
  234. c=ctod(c)
  235. j1=substr(d,4,2)
  236. j2=substr(d,7,2)
  237. j3=substr(d,1,2)
  238. d=j1+'/'+j2+'/'+j3
  239. d=ctod(d)
  240. clear
  241. @ 4,8 say ì
  242. c1+"------"+"╞┌╝Σ╡─╤╣┴ª╚▌╞≈╝∞╤Θ╖┤└í▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼░┤╞Σ╦ⁿ╝ⁿ╖╡╗╪"
  243. wait '  ' to q
  244. if q='y'
  245. do bf1.prg
  246. endif
  247. case w='c'
  248. clear
  249. c='        '
  250. d='        '
  251. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝╚╒╞┌:" get c pict '99.99.99'
  252. @ 5,10 say "╓╒╓╣╚╒╞┌:" get d pict '99.99.99'
  253. read
  254. c1=c
  255. c2=d
  256. b='gdf.'
  257. e='gdf2'
  258. j1=substr(c,4,2)
  259. j2=substr(c,7,2)
  260. j3=substr(c,1,2)
  261. c=j1+'/'+j2+'/'+j3
  262. c=ctod(c)
  263. j1=substr(d,4,2)
  264. j2=substr(d,7,2)
  265. j3=substr(d,1,2)
  266. d=j1+'/'+j2+'/'+j3
  267. d=j1+'/'+j2+'/'+j3
  268. d=ctod(d)
  269. clear
  270. @ 4,10 say ì
  271. c1+"------"+"╞┌╝Σ╡─╣▄╡└╝∞╨▐▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼░┤╞Σ╦ⁿ╝ⁿ╖╡╗╪"
  272. wait '    ' to q
  273. if q='y'
  274. do bf1.prg
  275. endif
  276. case w='9'
  277. clear
  278. c='     '
  279. d='     '
  280. @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝─Ω╘┬:" get c pict '99.99'
  281. @ 5,10 say "╓╒╓╣─Ω╘┬:" get d pict '99.99'
  282. read
  283. c1=c
  284. c2=d
  285. b='yy.'
  286. e='yy1'
  287. clear
  288. @ 4,8 say ì
  289. c1+"------"+"╞┌╝Σ╡─╣╪╝ⁿ╔Φ▒╕╘┬╘╦╫¬╠¿╩▒▒╕╖▌┴╦┬≡ú┐░┤ú┘╝ⁿ╔╛│²ú¼░┤╞Σ╦ⁿ╝ⁿ╖╡╗╪"
  290. wait '  ' to q
  291. if q='y'
  292. do bf1.prg 
  293. endif
  294. endcase
  295. enddo a1
  296.