home *** CD-ROM | disk | FTP | other *** search
- clear
- @ 4,20 say "╒²╘┌╝╞╦πú¼╟δ╔╘║≥úí"
- use sb index sb1
- j1=substr(p100,4,2)
- j2=substr(p100,7,2)
- j3=substr(p100,1,2)
- bb=j1+'/'+j2+'/'+j3
- bb=ctod(bb)
- do case
- case ad='1'
- a="╚½▓┐"
- coun to x for (bb-sb12)/365<5
- coun to x1 for (bb-sb12)/365>=5 .and. (bb-sb12)/365<=10
- coun to x2 for (bb-sb12)/365>10 .and. (bb-sb12)/365<=15
- coun to x3 for (bb-sb12)/365>15 .and. (bb-sb12)/365<=20
- coun to x4 for (bb-sb12)/365>20 .and. (bb-sb12)/365<=25
- coun to x5 for (bb-sb12)/365>25 .and. (bb-sb12)/365<=30
- coun to x6 for (bb-sb12)/365>30
- case ad='2'
- coun to x for (bb-sb12)/365<=5 .and. sb28=a
- coun to x1 for (bb-sb12)/365>5 .and. (bb-sb12)/365<=10 .and. sb28=a
- coun to x2 for (bb-sb12)/365>10 .and. (bb-sb12)/365<=15 .and. sb28=a
- coun to x3 for (bb-sb12)/365>15 .and. (bb-sb12)/365<=20 .and. sb28=a
- coun to x4 for (bb-sb12)/365>20 .and. (bb-sb12)/365<=25 .and. sb28=a
- coun to x5 for (bb-sb12)/365>25 .and. (bb-sb12)/365<=30 .and. sb28=a
- coun to x6 for (bb-sb12)/365>30 .and. sb28=a
- use dw index dw1
- seek a
- a=trim(dw2)
- case ad='3'
- coun to x for (bb-sb12)/365<=5 .and. sb24=a
- coun to x1 for (bb-sb12)/365>5 .and. (bb-sb12)/365<=10 .and. sb24=a
- coun to x2 for (bb-sb12)/365>10 .and. (bb-sb12)/365<=15 .and. sb24=a
- coun to x3 for (bb-sb12)/365>15 .and. (bb-sb12)/365<=20 .and. sb24=a
- coun to x4 for (bb-sb12)/365>20 .and. (bb-sb12)/365<=25 .and. sb24=a
- coun to x5 for (bb-sb12)/365>25 .and. (bb-sb12)/365<=30 .and. sb24=a
- coun to x6 for (bb-sb12)/365>30 .and. sb24=a
- use ls index lssy
- seek a
- a=trim(ls2)
- endcase
- set cons on
- @ 2,30 say a+"╔Φ▒╕╥█┴ε▓Θ╤»╜ß╣√"
- @ 4,1 say "─Ω╖▌ ú╡╧┬ ú╡í½ú▒ú░ ú▒ú░í½ú▒ú╡ ì
- ú▒ú╡í½ú▓ú░ ú▓ú░í½ú▓ú╡ ú▓ú╡í½ú│ú░ ú│ú░╔╧"
- @ 5,0 say "╩╡╙╨╠¿╩²"+str(x,4)+' '+str(x1,4)+' ì
- '+str(x2,4)+' '+str(x3,4)+' '+str(x4,4)+' ì
- '+str(x5,4)+' '+str(x6,4)
- wait '┤≥╙í┬≡ú¿ú┘ú»ú╬ú⌐' to dd
- if dd<>'y'
- clos data
- retu
- endif
- set device to print
- set print on
- set cons off
- ? chr(27)+"IJ"
- @ 1,30 say a+"╔Φ▒╕╥█┴ε▓Θ╤»╜ß╣√"
- @ 2,1 say " "
- @ 3,64 say "╚╒╞┌ú║"+p100
- @ 4,1 say ì
- "=================================================================ì
- =============="
- @ 5,1 say "|─Ω ì
- ╖▌|ú╡╥╘╧┬|ú╡í½ú▒ú░|ú▒ú░í½ú▒ú╡|ú▒ú╡í½ú▓ú░|ú▓ú░í½ú▓ú╡|ú▓ú╡í½ú│ú░|ú│ì
- ú░╥╘╔╧|"
- @ 6,1 say ì
- "|--------|------|--------|----------|----------|----------|--ì
- --------|--------|"
- @ 7,1 say "|╩╡╙╨╠¿╩²|"+str(x,4)+" | "+str(x1,4)+" | ì
- "+str(x2,4)+" | "+str(x3,4)+" | "+str(x4,4)+" | ì
- "+str(x5,4)+" | "+str(x6,4)+" |"
- @ 8,1 say ì
- "=================================================================ì
- =============="
- ? chr(13)
- set print off
- set cons on
- set devi to screen
- clos data
- retu