home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- sele 1
- use bj
- set index to bj1,bj2
- sele 2
- use bh
- sele 3
- use cr
- sele 4
- use gh
- set index to gh1
- a=' '
- @ 4,10 say "╟δ╩Σ╚δ╝╟┬╝╫▄╩²" get a pict '999'
- read
- a=val(a)
- do while a<>0
- k1=' '
- k2=' '
- k3=' '
- k4=' '
- k5=' '
- k6=' '
- k9=' '
- k10=' '
- k11=' '
- k12=' '
- k13=' '
- k14=' '
- k15=' '
- k16=' '
- k17=' '
- k18=' '
- k19=' '
- a1=.t.
- do while a1
- clear
- @ 1,1 say "▒╕╝■▒α║┼" get k1
- @ 2,1 say "▒╕╝■├√│╞" get k18
- @ 3,1 say "╣µ ╕±" get k19
- @ 4,1 say "╡Ñ ╝█" get k2 pict '#####.##'
- @ 5,1 say "╩² ┴┐" get k3 pict '#####.##'
- @ 6,1 say "╚δ┐Γ╚╒╞┌" get k5 pict '99.99.99'
- @ 7,1 say "║╧ ═¼ ║┼" get k4
- read
- a2=.t.
- do while a2
- @ 8,1 clear
- @ 8,1 say "╣⌐╗⌡╡Ñ╬╗▒α║┼" get k6
- read
- if k6='h'
- sele 4
- do hel11.prg
- loop
- endif
- exit
- enddo a3
- @ 9,1 say "╚δ┐Γ╡Ñ║┼" get k9
- @ 1,50 say "╛¡ ╩╓ ╚╦" get k10
- @ 2,50 say "╫ε╕▀┐Γ┤µ" get k11 pict '#####.##'
- @ 3,50 say "╫ε╡═┐Γ┤µ" get k12 pict '#####.##'
- @ 4,50 say "╢⌐ ╗⌡ ╡π" get k13 pict '#####.##'
- @ 5,50 say "┤µ┤ó╬╗╓├" get k14
- @ 6,50 say "├┐┤╬╢⌐╗⌡╖╤" get k15 pict '#####.##'
- @ 7,50 say "╡Ñ╝■┤µ┤ó╖╤" get k16 pict '#####.##'
- @ 8,50 say "─Ω╨Φ╟≤┴┐" get k17 pict '#####.##'
- read
- @ 9,50 say " "
- wait '╟δ╤í╘±ú║╒²╚╖ú┌ú¼╓╪╨▐╕─ú╪ú¼╫≈╖╧ú¼╖╡╗╪ú╥ú║' to w
- do case
- case w='r'
- retu
- case w='x'
- loop
- case w='f'
- a=a+1
- exit
- case w='z'
- k2=val(k2)
- k3=val(k3)
- k11=val(k11)
- k12=val(k12)
- k13=val(k13)
- k15=val(k15)
- k16=val(k16)
- k17=val(k17)
- j1=substr(k5,4,2)
- j2=substr(k5,7,2)
- j3=substr(k5,1,2)
- k5=j1+'/'+j2+'/'+j3
- k5=ctod(k5)
- sele 1
- appe blank
- repl b1 with k1,b4 with k2,b5 with k3,b6 with k11,b7 with k12,b8 ì
- with k13,b9 with k14,b10 with k15,b11 with k16,b12 with k17,b2 ì
- with k18,b3 with k19
- reindex on b1 to bj1
- reindex on b9 to bj2
- sele 2
- loca for h1=k4 .and. h2=k1
- repl h10 with h10+k3
- if h10=h7 .and. .not. eof()
- e=recno()
- dele reco e
- pack
- endif
- sele 3
- appe blank
- repl l1 with k1,l2 with k5,l3 with k3,l4 with k2,l6 ì
- with k6,l8 with k9,l9 with k10,l10 with 'r'
- exit
- endcase
- enddo
- a=a-1
- enddo
- retu
-
-
-