home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- sele 1
- use sb
- set index to sb1
- sele 2
- use bs
- sele 3
- use bj
- set index to bj1,bj2
- a1=.t.
- do while a1
- clear
- a=' '
- @ 4,10 say "╟δ╩Σ╚δ╔Φ▒╕▒α║┼" get a
- read
- sele 1
- loca for sb1=a
- b=sb4
- loca for sb4=b
- cont
- if .not. eof()
- sele 2
- loca for s1=b
- do while .not. eof()
- c=s2
- sele 3
- seek c
- repl b13 with 'g'
- sele 2
- cont
- enddo
- else
- sele 2
- loca for s1=b
- do while .not. eof()
- c=s2
- sele 3
- seek c
- repl b13 with 'b'
- sele 2
- cont
- enddo
- dele all for s1=b
- pack
- endif
- wait '╗╣╙╨┬≡(Y/N)' to w
- if w='y'
- loop
- endif
- exit
- enddo a1
- retu
-