home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- sele 1
- use ygz
- sele 2
- use ysg index ysg1
- sele 3
- use bjh
- a=' '
- @ 4,10 say "╟δ╩Σ╚δ─Ω╖▌,╘┬╖▌:" get a pict 'xx.xx'
- read
- clear
- set exac off
- y=0
- loca for bjh18<>'f'
- do while .not. eof()
- do case
- case bjh17=2
- x=15.5*25
- case bjh17=3
- x=24*30
- otherwise
- x=25*7.5
- endcase
- y=y+x
- cont
- enddo
- sele 1
- loca for g1=a
- if eof()
- appe blank
- repl g1 with a,g7 with y
- else
- repl g7 with y
- endif
- loca for g1<=a
- a1=.t.
- do while a1
- clear
- @ 1,1 say "─Ω.╘┬ ╚╒└·╝╞╗«╘╦╫¬╠¿╩▒ ╩┬╣╩,╣╩╒╧═ú╗·╩▒╝Σ ì
- ┐╔└√╙├┬╩"
- l=2
- do while .not. eof()
- @ l,1 say " "+g1
- @ l,8 say " "+str(g7,8,1)
- c=g1
- sele 2
- seek c
- e=y3
- sele 1
- e=e+g3
- @ l,30 say " "+str(e,8,1)
- e=(g7-e)/g7*100
- @ l,50 say " "+str(e,8,2)
- l=l+1
- cont
- if .not. eof()
- if l>=8
- wait '░┤╚╬╥Γ╝ⁿ╝╠╨°' to w
- exit
- endif
- else
- a1=.f.
- endif
- enddo
- enddo
- wait '┤≥╙í┬≡(Y/N)' to w
- if w<>'y'
- close database
- a1=.t.
- retu
- endif
- clear
- @ 4,20 say "╒²╘┌┤≥╙íú¼╟δ╔╘║≥úí"
- set device to print
- set cons off
- set print on
- ? chr(27)+"IJ"
- set print off
- @ prow()+1,20 say "╓≈╥¬╔Φ▒╕┐╔└√╙├┬╩"
- @ prow()+1,1 say " "
- @ prow()+1,1 say ì
- "=============================================================="
- @ prow()+1,1 say "|─Ω.╘┬ |╚╒└·╝╞╗«╘╦╫¬╠¿╩▒ ì
- |╩┬╣╩,╣╩╒╧═ú╗·╩▒╝Σ|╔Φ▒╕┐╔└√╙├┬╩|"
- @ prow()+1,1 say ì
- "|----------|------------------|-----------------|------------|"
- sele 1
- loca for g1<=a
- do while .not. eof()
- @ prow()+1,1 say "|"+g1
- @ prow(),12 say "|"+str(g7,8,1)
- c=g1
- sele 2
- loca for y1=c
- e=y3
- sele 1
- e=e+g3
- @ prow(),31 say "|"+str(e,8,1)
- e=(g7-e)/g7*100
- @ prow(),49 say "|"+str(e,8,2)+" |"
- cont
- if .not. eof()
- @ prow()+1,1 say ì
- "|----------|------------------|-----------------|------------|"
- else
- @ prow()+1,1 say ì
- "=============================================================="
- endif
- enddo
- @ prow()+1,1 say ì
- "╔Φ▒╕┐╔└√╙├┬╩ú╜(╚╒└·╝╞╗«╘╦╫¬╠¿╩▒-╩┬╣╩,╣╩╒╧═ú╗·╩▒╝Σ)ú»╚╒└·╝╞╗«╘╦╫¬╠¿ì
- ╩▒"
- set print on
- ? chr(13)
- set print off
- set device to screen
- close database
- a1=.t.
- set cons on
- retu
-
-