home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- use zj
- loca for (zj10=zj13 .and. zj11=1) .or. (zj10<>zj13 .and. ì
- (zj11<=zj13 .or. zj11>=zj10))
- b=recno()
- a1=.t.
- do while a1
- clear
- @ 1,1 say "╔Φ▒╕▒α║┼ ╝α▓Γ╡π▒α║┼ ╝α▓Γ╡π╬╗╓├ ╝α▓Γ╚╒╞┌ ì
- ╝α▓Γ─┌╚▌"
- if .not. eof()
- goto b
- else
- clear
- @ 4,10 say "╦∙╙╨╡─╝α▓Γ╡π─┐╟░╢╝╒²│ú"
- @ 6,50 clear
- wait '░┤╚╬╥Γ╝ⁿ╖╡╗╪' to w
- retu
- endif
- l=2
- do while .not. eof()
- @ l,1 say " "+zj1
- @ l,11 say " "+zj2
- @ l,22 say " "+zj3
- c=dtoc(zj5)
- j1=substr(c,7,2)
- j2=substr(c,1,2)
- j3=substr(c,4,2)
- c=j1+'.'+j2+'.'+j3
- @ l,35 say " "+c
- @ l,45 say " "+zj7
- l=l+1
- cont
- if .not. eof()
- if l>=10
- wait "░┤╚╬╥Γ╝ⁿ╝╠╨°" to w
- b=recno()
- goto bott
- skip
- a1=.t.
- endif
- else
- a1=.f.
- endif
- enddo
- enddo a1
- wait '┤≥╙í┬≡(Y/N)' to w
- if w='y'
- set device to print
- set print on
- set cons off
- ? chr(27)+"IJ"
- set print off
- set cons on
- p=1
- loca for (zj13=zj10 .and. zj11=1) .or. (zj13<>zj10 .and. ì
- (zj11<=zj13 .or. zj11>=zj10))
- b=recno()
- a1=.t.
- do while a1
- clear
- @ 1,30 say p100+"╟░╫┤╠¼╝α▓Γ╙╨╬╩╠Γ╡─▓┐╬╗"
- @ 2,1 say " "
- @ 3,76 say "╡┌"+str(p,2)+"╥│"
- @ 4,1 say ì
- "=================================================================ì
- ==========================="
- @ 5,1 say "|╔Φ▒╕▒α║┼ |╝α▓Γ╡π║┼|╝α▓Γ╡π╬╗╓├ ì
- |╝α▓Γ╚╒╞┌| ┤ª└φ╜¿╥Θ | ╕║╘≡╚╦ |"
- @ 6,1 say ì
- "|---------|--------|------------|--------|------------------------ì
- --------------|----------|"
- l=7
- goto b
- do while .not. eof()
- @ prow()+1,1 say "|"+zj1
- @ prow(),11 say "|"+zj2
- @ prow(),20 say "|"+zj3
- d=dtoc(zj5)
- j1=substr(d,7,2)
- j2=substr(d,1,2)
- j3=substr(d,4,2)
- d=j1+'.'+j2+'.'+j3
- @ prow(),33 say "|"+d
- @ prow(),42 say "| | ì
- |"
- l=l+1
- cont
- if .not. eof()
- if l>=50
- @ prow()+1,1 say ì
- "=================================================================ì
- ==========================="
- ejec
- b=recno()
- p=p+1
- goto bott
- skip
- a1=.t.
- else
- @ prow()+1,1 say ì
- "|---------|--------|------------|--------|-----------------------ì
- ---------------|----------|"
- l=l+1
- endif
- else
- @ prow()+1,1 say ì
- "=================================================================ì
- ==========================="
- a1=.f.
- endif
- enddo
- enddo a1
- set print on
- ? chr(13)
- close database
- set print off
- endif
- set device to screen
- a1=.t.
- retu