home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- a=' '
- @ 4,10 say "╟δ╩Σ╚δ╝╟┬╝╫▄╩²" get a pict '999'
- read
- a=val(a)
- do while a<>0
- clear
- b=' '
- c=' '
- @ 4,10 say "╟δ╩Σ╚δ▒╕╝■▒α║┼" get b
- @ 5,10 say "╠ß╗⌡╩²┴┐" get c pict '999'
- read
- c=val(c)
- use bj
- set index to bj1,bj2
- seek b
- if eof()
- clear
- @ 4,0 clear
- wait '╬▐┤╦▒╕╝■ú¼░┤╚╬╥Γ╝ⁿ╖╡╗╪úí'
- clos data
- retu
- endif
- if b5<c
- clear
- @ 4,0 clear
- d=c-b5
- @ 4,10 say "┐Γ╓╨╩²▒╚╥¬╠ß╗⌡┴┐╔┘:"+str(d,4)
- @ 8,0 clear
- wait '╟δ╤í╘±ú║╓╪╨▐╕─╠ß╗⌡┴┐ú╪ú¼╖╡╗╪ú╥ú║' to w
- do case
- case w='x'
- loop
- case w='r'
- retu
- otherwise
- retu
- endcase
- endif
- k1=' '
- k2=' '
- k3=' '
- k4=' '
- k5=' '
- k6=' '
- k7=' '
- k8=' '
- k9=' '
- k10=' '
- a1=.t.
- do while a1
- clear
- @ 1,1 say "▒╕╝■▒α║┼" get k1
- @ 2,1 say "╡Ñ╝█" get k2 pict '#####.##'
- @ 3,1 say "╩²┴┐" get k3 pict '#####.##'
- @ 4,1 say "│÷┐Γ╚╒╞┌" get k5 pict '99.99.99'
- read
- a2=.t.
- do while a2
- @ 6,1 clear
- @ 5,1 say "╠ß╗⌡╡Ñ╬╗▒α║┼" get k6
- read
- if k6='h'
- use dw
- do hel1.prg
- loop
- endif
- exit
- enddo a3
- @ 6,1 say "╔Φ▒╕▒α║┼" get k7
- @ 7,1 say "╣ñ╫≈┴ε║┼" get k8 pict '############'
- @ 8,1 say "╠ß╗⌡╡Ñ║┼" get k9
- @ 1,50 say "╛¡╩╓╚╦" get k10
- read
- @ 9,0 clear
- 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)
- k8=val(k8)
- j1=substr(k5,4,2)
- j2=substr(k5,7,2)
- j3=substr(k5,1,2)
- k5=j1+'/'+j2+'/'+j3
- k5=ctod(k5)
- use bj index bj1,bj2
- seek k1
- repl b5 with b5-k3
- use cr
- appe blank
- repl l1 with k1,l2 with k5,l3 with k3,l4 with k2,l6 ì
- with k6,l9 with k10,l5 with k7,l7 with k8,l10 with 'c'
- repl l8 with k9
- exit
- endcase
- enddo
- endif
- endif
- a=a-1
- enddo
- retu
-
-