home *** CD-ROM | disk | FTP | other *** search
- set talk off
- x0=00
- x1=' '
- x2=0000000
- x3=' '
- x4=0.00
- clear
- @ 2,20 say '╖╜░╕╨≥║┼:' get x0
- @ 3,20 say '╔Φ▒╕├√│╞:' get x1
- @ 4,20 say '╩² ┴┐:' get x2
- @ 5,20 say '═Γ▒╥╓╓└α:' get x3
- @ 6,20 say '▒╚ ╝█:' get x4
- read
- use c:xfx2
- repl all wb with 0
- repl all r with 0
- 1
- ma=' '
- do while .not.eof()
- clear
- @ 2,20 say '╧ε ─┐: '+xm
- @ 4,20 say '═Γ ▒╥:' get wb
- @ 5,20 say '╚╦ ├± ▒╥:' get r
- read
- @ 7,20 say '╒²╚╖┬≡(y/n)?' get ma
- read
- if ma='n'.or.ma='N'
- loop
- endif
- skip
- enddo
- clear
- @ 3,24 say '==================='
- @ 4,24 say ' ╟δ─·╔╘║ε,╒²╘┌╝╞╦π'
- @ 5,24 say '==================='
- 1
- repl all zr with wb*x4
- repl all hj with zr+r
- sum all wb,zr,r,hj to y1,y2,y3,y4
- repl all bfs with hj/y4*100
- sum all bfs to y5
- clear
- @ 3,24 say '==================='
- @ 4,24 say ' ╟δ─·╔╘║ε,╒²╘┌┤≥╙í'
- @ 5,24 say '==================='
- set device to print
- set print on
- @ 1,1 say ' ╔Φ▒╕═╢╫╩╙Φ▓Γ▒φú¿╖╜░╕ú║'+str(x0,2)+'ú⌐'
- @ 2,1 say ' =========================='
- @ 3,1 say ' '
- @ 4,1 say '╔Φ▒╕├√│╞:'+x1
- @ 5,1 say ' '
- @ 6,1 say '╩² ┴┐:'+str(x2,2)+'╠¿ú¿╠╫ú⌐ ═Γ▒╥:'+x3+' ì
- ▒╚╝█:'+str(x4,6,2)+' ╡Ñ╬╗:╘¬'
- @ 7,1 say '==========================================================='
- @ 8,1 say '| | ═Γ ╗π | | | |'
- @ 9,1 say '| ╧ε ─┐ |---------------| ╚╦├±▒╥ | ║╧ ╝╞ | ╒╝úÑ |'
- @ 10,1 say '| |═Γ▒╥ |╒█╚╦├±▒╥| | | |'
- @ 11,1 say '|================|======|========|========|========|======|'
- 1
- l=12
- do while .not.eof()
- @ l,1 say ì
- '|'+xm+'|'+str(wb,6)+'|'+str(zr,8)+'|'+str(r,8)+'|'+str(hj,8)+'|'+str(bfs,6ì
- ,2)+'|'
- skip
- l=l+1
- @ l ,1 say '|----------------|------|--------|--------|--------|------|'
- l=l+1
- enddo
- @ l,1 say '| ╫▄ ╝╞ ì
- |'+str(y1,6)+'|'+str(y2,8)+'|'+str(y3,8)+'|'+str(y4,8)+'|'+str(y5,ì
- 6,2)+'|'
- l=l+1
- @ l,1 say ì
- '==========================================================='
- l=l+1
- @ l,1 say ' '
- set print off
- set device to screen
- return
-
-