home *** CD-ROM | disk | FTP | other *** search
- clear
- close database
- set talk off
- set device to screen
- use dx
- a=' '
- @ 4,15 say "╟δ╩Σ╚δ╜╪╓╣╚╒╞┌" get a pict '99.99.99'
- read
- j1=substr(a,4,2)
- j2=substr(a,7,2)
- j3=substr(a,1,2)
- a=j1+'/'+j2+'/'+j3
- a=ctod(a)
- loca for dx8+dx5<=a
- if eof()
- @ 4,0 clear
- wait ' ╬▐╙ª╩╘╤Θ╡─╧▀┬╖ú¼░┤╚╬╥Γ╝ⁿ╖╡╗╪úí'
- clos data
- retu
- endif
- a2=.t.
- do while a2
- clear
- ? " ╧▀┬╖├√│╞ ╧▀┬╖╣µ╕± ╨═║┼ ╞╠╔Φ╖╜╩╜ ╩╘╤Θ╡τ╤╣ ╩╘╤Θ╚╒╞┌"
- l=2
- do while .not. eof() .and. l<=9
- c=dtoc(dx8)
- b=dx8
- @ l,1 say " "+dx1
- @ l,12 say " "+dx2
- @ l,33 say " "+dx3
- @ l,50 say " "+dx4
- @ l,63 say " "+dx6
- e=b+dx5
- e=dtoc(e)
- j1=substr(e,7,2)
- j2=substr(e,1,2)
- j3=substr(e,4,2)
- e=j1+'.'+j2+'.'+j3
- @ l,70 say " "+e
- l=l+1
- skip
- if l>=9 .and. .not. eof()
- wait '░┤╚╬╥Γ╝ⁿ╝╠╨°úí'
- endif
- enddo
- if eof()
- exit
- endif
- enddo a2
- wait ' ┤≥╙í┬≡(y/n) ' to a
- if a $ 'y'
- set device to print
- set print on
- set cons off
- ? chr(27)+"IJ"
- set print off
- set cons on
- goto top
- clear
- @ prow()+1,1 say " ╡τ╞≈╧▀┬╖╩╘╤Θ╝╞╗«▒φ"
- @ prow()+1,1 say " "
- @ prow()+1,1 say ì
- "=================================================================ì
- ======================================"
- @ prow()+1,1 say "|╧▀┬╖├√│╞ | ╣µ╕± | ╨═║┼ ì
- |╞╠╔Φ╖╜╩╜ |╔╧┤╬╩╘╤Θ╚╒╞┌|╩╘╤Θ╓▄╞┌|╩╘╤Θ╡τ╤╣|╩╘╤Θ╚╒╞┌|"
- @ prow()+1,1 say ì
- "|----------|--------------------|----------------|------------|--ì
- ----------|--------|--------|--------|"
- do while .not. eof()
- @ prow()+1,1 say "|"+dx1
- @ prow(),12 say "|"+dx2
- @ prow(),33 say "|"+dx3
- @ prow(),50 say "|"+dx4
- c=dtoc(dx8)
- b=dx8
- @ prow(),63 say "|"+c
- @ prow(),76 say "|"+str(dx5,4)
- @ prow(),85 say "|"+dx6
- e=b+dx5
- e=dtoc(e)
- @ prow(),94 say "|"+e+"|"
- skip
- if .not. eof()
- @ prow()+1,1 say ì
- "|----------|--------------------|----------------|------------|--ì
- ----------|--------|--------|--------|"
- else
- @ prow()+1,1 say ì
- "=================================================================ì
- ======================================"
- endif
- enddo
- set print on
- ? chr(13)
- set print off
- set device to screen
- a1=.t.
- retu
-
-