home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- sele 6
- use fyl
- sele 1
- use yhf
- sele 2
- use sb index sb1
- sele 3
- use yh
- sele 4
- use sm
- sele 5
- use gzl1 index gzl11
- a2=.t.
- do while a2
- k1=' '
- k2=' '
- k3=' '
- k14=' '
- k4=' '
- k5=' '
- k6=' '
- k7=' '
- k8=' '
- k15=' '
- kk1=' '
- a1=.t.
- do while a1
- clear
- @ 0,1 say "╣ñ╫≈┴ε║┼" get k15 pict '##########'
- @ 1,1 say "╔Φ▒╕▒α║┼" get k2
- @ 2,1 say "╚≤╗¼╡π▒α║┼" get k3
- @ 3,1 say "╗╗╙═╚╒╞┌" get k14 pict '99.99.99'
- do dq5.fmt
- @ 0,32 say "╢╘╥╘║≤╬¼╨▐╡─╜¿╥Θ" get kk1
- read
- @ 8,40 clear
- wait '╩²╛▌╒²╚╖ú┌ú¼╫≈╖╧ú╞ú¼╓╪╨▐╕─ú╪ú¼╖╡╗╪ú╥ú║' to w
- do case
- case w='f'
- exit
- case w='x'
- loop
- case w='r'
- clos data
- retu
- case w='z'
- sele 1
- k15=val(k15)
- a=substr(k14,4,2)
- b=substr(k14,7,2)
- c=substr(k14,1,2)
- k14=a+'/'+b+'/'+c
- k14=ctod(k14)
- loca for k2=yhf1 .and. k3=yhf2
- if eof()
- sele 2
- seek k2
- q1=sb4
- do case
- case sb33=1
- q2=7.5
- case sb33=3
- q2=24
- otherwise
- q2=15.5
- endcase
- sele 3
- loca for q1=yh1 .and. k3=yh2
- q2=q2*yh12
- pp=yh12
- sele 1
- appe blank
- repl yhf1 with k2,yhf2 with k3,yhf3 with k14,yhf5 with 0,yhf4 with ì
- q2,yhf6 with pp
- else
- repl yhf3 with k14,yhf5 with 0
- endif
- k4=val(k4)
- k5=val(k5)
- k6=val(k6)
- k7=val(k7)
- k8=val(k8)
- sele 4
- loca for sm1=k2
- repl sm8 with sm8+k4+k5+k6+k7+k8
- sele 5
- seek k5
- repl gzl1a with 'y',gzl1d with k4+k5+k6+k7+k8,gzl1e with kk1
- p1=c+'.'+a
- sele 6
- 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
- otherwise
- loop
- endcase
- exit
- enddo a1
- clear
- wait '╗╣╩Σ╚δ┬≡(y/n) ' to w
- if w='y'
- a2=.t.
- else
- clos data
- retu
- endif
- enddo a2
- retu
-