home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- p=' '
- @ 4,10 say "╟δ╩Σ╚δ╝╟┬╝╫▄╩²" get p pict '999'
- read
- p=val(p)
- do while p<>0
- clear
- k1=' '
- k2=' '
- k3=' '
- k4=' '
- a2=.t.
- do while a2
- clear
- @ 2,1 say "▒╕╝■▒α║┼" get k1
- @ 3,1 say "▒¿╖╧╚Ñ╧≥" get k2
- @ 4,1 say "▒¿╖╧╘¡╥≥" get k3
- @ 5,1 say "▒¿╖╧╚╒╞┌" get k4 pict '99.99.99'
- read
- wait '╟δ╤í╘±ú║╓╪╨▐╕─ú╪ú¼╫≈╖╧ú╞ú¼╩²╛▌╒²╚╖ú┌ú¼╖╡╗╪ú╥ú║' to w
- do case
- case w='r'
- retu
- case w='x'
- loop
- case w='f'
- p=p+1
- exit
- case w='z'
- use bj
- set index to bj1,bj2
- seek k1
- j1=b1
- j2=b2
- j3=b3
- j4=b4
- j5=b5
- t1=substr(k4,4,2)
- t2=substr(k4,7,2)
- t3=substr(k4,1,2)
- tt=t1+'/'+t2+'/'+t3
- tt=ctod(tt)
- dele
- pack
- use bh
- sum (h7-h10)*h6,(h7-h10) to x,y for h1=k1
- repl all h17 with 'y' for h2=k1
- use bf
- appe blank
- repl bf1 with j1,bf2 with j2,bf3 with j3,bf4 with j4,bf5 with ì
- j5,bf6 with k2,bf10 with k3,bf8 with y,bf9 with x,bf7 with tt
- endcase
- p=p-1
- if p=0
- exit
- endif
- enddo
- enddo
- retu
-
-