home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- close database
- set device to screen
- b=' '
- c=' '
- @ 4,10 say "╟δ╩Σ╚δ╞≡╩╝╚╒╞┌:" get b pict '99.99.99'
- @ 5,10 say "╓╒╓╣╚╒╞┌:" get c pict '99.99.99'
- read
- www=b
- a=b
- d=c
- j1=substr(b,4,2)
- j2=substr(b,7,2)
- j3=substr(b,1,2)
- b=j1+'/'+j2+'/'+j3
- b=ctod(b)
- j1=substr(c,4,2)
- j2=substr(c,7,2)
- j3=substr(c,1,2)
- c=j1+'/'+j2+'/'+j3
- c=ctod(c)
- sele 1
- use dw
- sele 2
- use gz
- w='q'
- do gz9
- if w<>'y'
- clos data
- retu
- endif
- set device to print
- set print on
- set cons off
- ? chr(27)+"IJ"
- set print off
- set cons on
- sele 2
- sum gz6,gz15 to x1,y1 for b<=gz3 .and. gz3<=c
- clear
- @ prow()+1,1 say " "+www+"---"+d+" ╚½│º╣╩╒╧═│╝╞▒φ"
- @ prow()+1,1 say " "
- @ prow()+1,1 say " "
- @ prow()+1,1 say "╫▄═ú╗·┤╬╩²:"+str(y1,4)+"╫▄═ú╗·╩▒╝Σ(╨í╩▒):"+str(x1,6,1)
- @ prow()+1,1 say ì
- "=============================================================="
- @ prow()+1,1 say "|╡Ñ ╬╗ ├√ │╞ |═ú╗·┤╬╩²|═ú╗·╩▒╝Σ|╒╝╫▄═ú╗·┤╬╩² %|╒╝╫▄═ú╗·╩▒╝Σ ì
- %|"
- @ prow()+1,1 say ì
- "|------------|--------|--------|--------------|--------------|"
- sele 1
- goto top
- do while .not. eof()
- a=dw1
- a2=dw2
- sele 2
- sum gz6,gz15 to x,y for gz14=a .and. b<=gz3 .and. gz3<=c
- @ prow()+1,1 say "|"+a2
- @ prow(),14 say "|"+str(y,3,0)
- @ prow(),23 say "|"+str(x,6,1)
- m=y/y1*100
- @ prow(),32 say "|"+str(m,6,2)
- n=x/x1*100
- @ prow(),47 say "|"+str(n,6,2)+" |"
- sele 1
- skip
- if .not. eof()
- @ prow()+1,1 say ì
- "|------------|--------|--------|--------------|--------------|"
- else
- @ prow()+1,1 say ì
- "=============================================================="
- endif
- enddo
- set print on
- ? chr(13)
- set talk on
- set print off
- set device to screen
- a1=.t.
- retu
-
-
-
-