home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- sele 4
- use fyl
- sele 1
- use gd
- sele 2
- use gdf
- sele 3
- use gzl1 index gzl11
- a1=.t.
- do while a1
- k1=' '
- k2=' '
- k3=' '
- k15=' '
- k4=' '
- k5=' '
- k6=' '
- k7=' '
- k8=' '
- k18=' '
- k19=' '
- k20=' '
- k21=' '
- a2=.t.
- do while a2
- clear
- @ 1,1 say "╣ñ╫≈┴ε║┼" get k1
- @ 2,1 say "╣▄╡└▒α║┼" get k2
- @ 3,1 say "╝∞╨▐╚╒╞┌" get k3 pict '99.99.99'
- do dq5.fmt
- @ 9,1 say "╝∞▓Γ(1),╨▐└φ(2)" get k15
- @ 1,32 say "╩╡╝╩╣ñ╩▒" get k18 pict '##.##'
- @ 2,32 say "═ú╣ñ┤²┴╧╩▒╝Σ" get k19 pict '##.##'
- @ 3,32 say "╦∙╙├╡─▒╕╝■" get k20
- @ 4,32 say "╢╘╥╘║≤╬¼╨▐╡─╜¿╥Θ" get k21
- read
- wait '╩²╛▌╒²╚╖ú┌ú¼╫≈╖╧ú╞ú¼╓╪╨▐╕─ú╪ú¼╖╡╗╪ú╥ú║' to w
- do case
- case w='x'
- loop
- case w='f'
- exit
- case w='r'
- close database
- retu
- case w='z'
- j1=substr(k3,4,2)
- j2=substr(k3,7,2)
- j3=substr(k3,1,2)
- k3=j1+'/'+j2+'/'+j3
- k3=ctod(k3)
- k1=val(k1)
- p1=j3+'.'+j1
- k4=val(k4)
- k5=val(k5)
- k6=val(k6)
- k18=val(k18)
- k19=val(k19)
- k7=val(k7)
- k8=val(k8)
- sele 3
- seek k1
- repl gzl1a with 'y',gzl1f with k20,gzl1e with k21,gzl1d with ì
- k4+k5+k6+k7+k8,gzl1b with k18,gzl1c with k19
- sele 2
- appe blank
- repl gdf1 with k2,gdf2 with k3,gdf3 with k4+k5+k6+k7+k8,gdf4 with ì
- k15
- if k15='1'
- sele 1
- loca for gd1=k2
- repl gd18 with k3
- endif
- sele 4
- loca for f1=p1
- if .not. eof()
- repl f3 with f3+k4+k5+k6+k7+k8,f4 with f4+k4,f5 with f5+k5,f6 ì
- with f6+k6,f7 with f7+k7,f8 with f8+k8
- else
- appe blank
- repl f1 with p1,f3 with k4+k5+k6+k7+k8,f4 with k4,f5 with k5,f6 ì
- with k6,f7 with k7,f8 with k8
- endif
- exit
- endcase
- enddo a1
- wait '╗╣╩Σ╚δ┬≡(Y/N)' to w
- if w='y'
- a1=.t.
- else
- a1=.f.
- endif
- enddo a1
- close database
- a1=.t.
- retu
-