home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- use yjh
- a=' '
- p=' '
- @ 4,10 say "╟δ╩Σ╚δ─Ω╖▌,╘┬╖▌" get a pict '99.99'
- @ 5,10 say "╚≤╗¼╙═├√│╞" get p
- read
- j1=substr(a,4,2)
- j2='01'
- j3=substr(a,1,2)
- b=j1+'/'+j2+'/'+j3
- b=ctod(b)
- t=month(b)
- if t>=1 .and. t<=7
- t1=t/2
- t2=int(t1)
- if t1-t2<>0
- c=b+30
- else
- c=b+29
- endif
- else
- t1=t/2
- t2=int(t1)
- if t1-t2<>0
- c=b+29
- else
- c=b+30
- endif
- endif
- if t=2
- c=b+27
- endif
- sum y5 to x for y3>=b .and. y3<=c .and. y4=p
- clear
- @ 4,10 say " "+a+"╨Φ╥¬"+p+"╚≤╗¼╙═"+str(x,8)+"ú╦úτ"
- @ 8,1 clear
- wait '░┤╚╬╥Γ╝ⁿ╖╡╗╪' to w
- retu