home *** CD-ROM | disk | FTP | other *** search
- sele 2
- loca for yh12<p150
- do while .not. eof()
- a=yh1
- sele 4
- coun to x for sb4=a
- sele 2
- do case
- case yh5<>' ' .and. yh6<>' '
- x=x*cc*yh13/yh12
- y=x*(365-cc)*yh13/yh12
- a1=yh5
- a2=yh6
- sele 3
- loca for y1=a1
- if .not. eof()
- repl y2 with y2+y
- else
- appe blank
- repl y1 with a1,y2 with y
- endif
- loca for y1=a2
- if .not. eof()
- repl y2 with y2+x
- else
- appe blank
- repl y1 with a2,y2 with x
- endif
- case yh5=' '
- x=x*365*yh13/yh12
- a1=yh6
- sele 3
- loca for y1=a1
- if .not. eof()
- repl y2 with y2+x
- else
- appe blank
- repl y1 with a1,y2 with x
- endif
- case yh6=' '
- x=x*365*yh13/yh12
- a2=yh5
- sele 3
- loca for y1=a2
- if .not. eof()
- repl y2 with y2+x
- else
- appe blank
- repl y1 with a2,y2 with y2+x
- endif
- endcase
- sele 2
- cont
- enddo
- retu