home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- sele 5
- use yjh
- dele all
- pack
- sele 1
- use yhf
- sele 2
- use yh index yh2
- sele 3
- use yh1
- sele 4
- use sb index sb1
- a=' '
- p150=' '
- @ 4,10 say "╟δ╩Σ╚δ╓╒╓╣╚╒╞┌" get a pict '99.99.99'
- @ 5,10 say "╦∙╥¬╡─╫ε╢╠╗╗╙═╓▄╞┌" get p150 pict '999'
- read
- p150=val(p150)
- sele 1
- copy to yhf1 for yhf6>=p150 field yhf1,yhf2,yhf3
- use yhf1
- sele 4
- j1=substr(a,4,2)
- j2=substr(a,7,2)
- j3=substr(a,1,2)
- a=j1+'/'+j2+'/'+j3
- a=ctod(a)
- do while .not. eof()
- b=sb1
- c=sb4
- sele 2
- seek c
- do while c=yh1 .and. .not. eof()
- d=yh12
- e=yh2
- p1=yh5
- p2=yh6
- p4=yh13
- p7=yh3
- sele 1
- loca for yhf1=b .and. yhf2=e
- p3=yhf3
- do while p3+d<=a
- p3=p3+d
- sele 3
- p5=month(p3)
- if p5>=4 .and. p5<=9
- sele 5
- appe blank
- repl y1 with b,y2 with e,y3 with p3,y4 with p1,y5 with p4,y6 with ì
- p7
- if p1=' '
- repl y4 with p2
- endif
- sele 3
- else
- sele 5
- appe blank
- repl y1 with b,y2 with e,y3 with p3,y4 with p2,y5 with p4,y6 with ì
- p7
- if p2=' '
- repl y4 with p1
- endif
- sele 3
- endif
- enddo
- sele 2
- skip
- enddo
- sele 4
- skip
- enddo
- retu
-
-
-