home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- use yhf
- loca for yhf5-yhf4>=0
- if .not. eof()
- b=recno()
- else
- clear
- @ 4,10 say "╦∙╙╨╗╗╙═▓┐╬╗╢╝├╗╡╜╗╗╙╨▒Ω╫╝"
- @ 7,50 clear
- wait ' ░┤╚╬╥Γ╝ⁿ╖╡╗╪' to w
- clear
- retu
- endif
- goto b
- a1=.t.
- do while a1
- clear
- @ 1,15 say "╔Φ▒╕▒α║┼ ╚≤╗¼╡π▒α║┼ ╗╗╙═╓▄╞┌(╠¿╩▒) ╩╡┐¬╠¿╩▒ "
- l=2
- goto b
- do while .not. eof()
- @ l,15 say " "+yhf1
- @ l,27 say " "+yhf2
- @ l,39 say " "+str(yhf4,5)
- @ l,55 say " "+str(yhf5,5)
- cont
- l=l+1
- if .not. eof()
- if l>=9
- l=2
- wait '░┤╚╬╥Γ╝ⁿ╝╠╨°' to w
- clear
- b=recno()
- goto bott
- skip
- a1=.t.
- endif
- else
- a1=.f.
- endif
- enddo
- enddo a1
- wait ' ┤≥╙í┬≡(Y/N)' to w
- if w<>'y'
- retu
- endif
- set device to print
- set print on
- set cons off
- ? chr(27)+"IJ"
- set print off
- set cons on
- sele 1
- use sb index sb1
- sele 2
- use yhf
- loca for yhf5>=yhf4
- p=1
- a1=.t.
- do while a1
- @ prow()+1,40 say "░┤╩╡┐¬╠¿╩▒╙ª╗╗╙═╡─╔Φ▒╕"
- @ prow()+1,40 say "~~~~~~~~~~~~~~~~~~~~~"
- @ prow()+1,1 say " ì
- "
- @ prow()+1,85 say "╡┌"+str(p,2)+"╥│"
- @ prow()+1,1 say ì
- "=================================================================ì
- ================================"
- @ prow()+1,1 say "|╔Φ▒╕▒α║┼ |╔Φ▒╕├√│╞ |░▓╫░╡╪╡π ì
- |╚≤╗¼╡π▒α║┼|╔╧┤╬╗╗╙═╚╒╞┌|╗╗╙═╓▄╞┌(╠¿╩▒)|╗╗╙═║≤╥╤┐¬╢»╠¿╩▒|"
- @ prow()+1,1 say ì
- "|---------|----------------|------------|----------|------------|ì
- --------------|----------------|"
- l=6
- do while .not. eof()
- @ prow()+1,1 say "|"+yhf1
- c=yhf1
- sele 1
- seek c
- @ prow(),11 say "|"+sb3
- @ prow(),28 say "|"+sb29
- sele 2
- @ prow(),41 say "|"+yhf2
- e=dtoc(yhf3)
- j1=substr(e,7,2)
- j2=substr(e,1,2)
- j3=substr(e,4,2)
- e=j1+'.'+j2+'.'+j3
- @ prow(),52 say "|"+e
- @ prow(),65 say "|"+str(yhf4,5)
- @ prow(),80 say "|"+str(yhf5,5)+" |"
- l=l+1
- cont
- if .not. eof()
- if l>=10
- @ prow()+1,1 say ì
- "=================================================================ì
- ================================"
- p=p+1
- ejec
- exit
- 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)
- set print off
- set device to screen
- a1=.t.
- retu