@ 2,10 say '╟δ╩Σ╚δ─·╥¬╨▐╕─╢α╧ε╡─╓░╣ñ▒α║┼: ' get bh
read
go bh
if ▓┐├┼<>'═╦╨▌'
@ 5,3 say '╘┬╖▌'
@ 5,16 get ╘┬╖▌
@ 6,3 say '▒α║┼'
@ 6,16 get ▒α║┼
@ 7,3 say '╨╒├√'
@ 7,16 get ╨╒├√
@ 8,3 say '╗∙▒╛╣ñ╫╩'
@ 8,16 get ╗∙▒╛╣ñ╫╩
@ 9,3 say '╩┬╝┘╠∞╩²'
@ 9,16 get ╩┬╝┘╠∞╩²
@ 10,3 say '╩┬╝┘'
@ 10,16 get ╩┬╝┘
@ 11,3 say '▓í╝┘╠∞╩²'
@ 11,16 get ▓í╝┘╠∞╩²
@ 12,3 say '▓í╝┘'
@ 12,16 get ▓í╝┘
@ 13,3 say '┴╕▓ε'
@ 13,16 get ┴╕▓ε
@ 14,3 say '╬∩╠∙'
@ 14,16 get ╬∩╠∙
@ 15,3 say '╥╣▓═'
@ 15,16 get ╥╣▓═
@ 5,28 say '▓╣╖ó'
@ 5,41 get ▓╣╖ó
@ 6,28 say '▓╣│╡╖╤'
@ 6,41 get ▓╣│╡╖╤
@ 7,28 say '╚²╠∙'
@ 7,41 get ╚²╠∙
@ 8,28 say '▒ú╜í'
@ 8,41 get ▒ú╜í
@ 9,28 say '╟σ╥√'
@ 9,41 get ╟σ╥√
@ 10,28 say '╕í╢»'
@ 10,41 get ╕í╢»
@ 11,28 say '╙ª╖ó╩²'
@ 11,41 get ╙ª╖ó╩²
@ 12,28 say '╥⌐╖╤'
@ 12,41 get ╥⌐╖╤
@ 13,28 say '╖┐╫Γ'
@ 13,41 get ╖┐╫Γ
@ 14,28 say '═╨╖╤'
@ 14,41 get ═╨╖╤
@ 15,28 say '┐█│╡╖╤'
@ 15,41 get ┐█│╡╖╤
@ 16,28 say '┤ó╜≡'
@ 16,41 get ┤ó╜≡
@ 5,53 say '╡µ┐ε'
@ 5,66 get ╡µ┐ε
@ 6,53 say '╣·┐Γ'
@ 6,66 get ╣·┐Γ
@ 7,53 say '▒ú╧╒'
@ 7,66 get ▒ú╧╒
@ 8,53 say '╫▄┐█┐ε'
@ 8,66 get ╫▄┐█┐ε
@ 9,53 say '╩╡╖ó╩²'
@ 9,66 get ╩╡╖ó╩²
@ 10,53 say '┴∞┐ε╚╦'
@ 10,66 get ┴∞┐ε╚╦
@ 11,53 say '╦∙╙╨╓╞'
@ 11,66 get ╦∙╙╨╓╞
@ 12,53 say '╚δ│º─Ω╘┬'
@ 12,66 get ╚δ│º─Ω╘┬
@ 13,53 say '▓┐├┼'
@ 13,66 get ▓┐├┼
@ 14,53 say '░α╫Θ'
@ 14,66 get ░α╫Θ
@ 15,53 say '╣ñ╓╓'
@ 15,66 get ╣ñ╓╓
read
replace next 1 ▒α║┼ with ▒α║┼,╘┬╖▌ with ╘┬╖▌,╨╒├√ with ╨╒├√,╗∙▒╛╣ñ╫╩ with ╗∙▒╛╣ñ╫╩,╩┬╝┘╠∞╩² with ╩┬╝┘╠∞╩²,╩┬╝┘ with ╩┬╝┘,▓í╝┘╠∞╩² with ▓í╝┘╠∞╩²,▓í╝┘ with ▓í╝┘
replace next 1 ┴╕▓ε with ┴╕▓ε,╬∩╠∙ with ╬∩╠∙,╥╣▓═ with ╥╣▓═,▓╣╖ó with ▓╣╖ó,▓╣│╡╖╤ with ▓╣│╡╖╤,╚²╠∙ with ╚²╠∙,▒ú╜í with ▒ú╜í,╟σ╥√ with ╟σ╥√,╕í╢» with ╕í╢»,╙ª╖ó╩² with ╙ª╖ó╩²
replace next 1 ╥⌐╖╤ with ╥⌐╖╤,╖┐╫Γ with ╖┐╫Γ,═╨╖╤ with ═╨╖╤,┐█│╡╖╤ with ┐█│╡╖╤,┤ó╜≡ with ┤ó╜≡,╡µ┐ε with ╡µ┐ε,╣·┐Γ with ╣·┐Γ,▒ú╧╒ with ▒ú╧╒,╫▄┐█┐ε with ╫▄┐█┐ε
replace next 1 ┴∞┐ε╚╦ with ┴∞┐ε╚╦,╦∙╙╨╓╞ with ╦∙╙╨╓╞,╚δ│º─Ω╘┬ with ╚δ│º─Ω╘┬,▓┐├┼ with ▓┐├┼,░α╫Θ with ░α╫Θ,╣ñ╓╓ with ╣ñ╓╓
endif
if ▓┐├┼='═╦╨▌'
@ 5,3 say '╘┬╖▌'
@ 5,16 get ╘┬╖▌
@ 6,3 say '▒α║┼'
@ 6,16 get ▒α║┼
@ 7,3 say '╨╒├√'
@ 7,16 get ╨╒├√
@ 8,3 say '╗∙▒╛╣ñ╫╩'
@ 8,16 get ╗∙▒╛╣ñ╫╩
@ 9,3 say '┴╕▓ε'
@ 9,16 get ┴╕▓ε
@ 10,3 say '╬∩╠∙'
@ 10,16 get ╬∩╠∙
@ 11,3 say '▓╣╖ó'
@ 11,16 get ▓╣╖ó
@ 12,3 say '╚²╠∙'
@ 12,16 get ╚²╠∙
@ 5,28 say '╙ª╖ó╩²'
@ 5,41 get ╙ª╖ó╩²
@ 6,28 say '╥⌐╖╤'
@ 6,41 get ╥⌐╖╤
@ 7,28 say '╖┐╫Γ'
@ 7,41 get ╖┐╫Γ
@ 8,28 say '╡µ┐ε'
@ 8,41 get ╡µ┐ε
@ 9,28 say '╫▄┐█┐ε'
@ 9,41 get ╫▄┐█┐ε
@ 10,28 say '╩╡╖ó╩²'
@ 10,41 get ╩╡╖ó╩²
@ 11,28 say '╦∙╙╨╓╞'
@ 11,41 get ╦∙╙╨╓╞
@ 12,28 say '▓┐├┼'
@ 12,41 get ▓┐├┼
read
replace next 1 ▒α║┼ with ▒α║┼,╘┬╖▌ with ╘┬╖▌,╨╒├√ with ╨╒├√,╗∙▒╛╣ñ╫╩ with ╗∙▒╛╣ñ╫╩
replace next 1 ┴╕▓ε with ┴╕▓ε,╬∩╠∙ with ╬∩╠∙,▓╣╖ó with ▓╣╖ó,╚²╠∙ with ╚²╠∙,╙ª╖ó╩² with ╙ª╖ó╩²
replace next 1 ╥⌐╖╤ with ╥⌐╖╤,╖┐╫Γ with ╖┐╫Γ,╡µ┐ε with ╡µ┐ε,╫▄┐█┐ε with ╫▄┐█┐ε
replace next 1 ╦∙╙╨╓╞ with ╦∙╙╨╓╞,▓┐├┼ with ▓┐├┼
endif
@ 18,20 say '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─╢α╧ε(y/n)? ' get an1
read
if an1='n'.or.an1='N'
am11=.f.
endif
enddo
case d=11
clear
go top
do while .not.eof()
store recno() to rno
go rno
?
list next 1 ╨╒├√,╟σ╥√ for ▒α║┼=rno
?
input '╟σ╥√╩╟: ' to qy
replace next 1 ╟σ╥√ with qy for ▒α║┼=rno
skip
enddo
case d=12
m=' '
clear
@ 6,30 say '╨▐╕─═╨╖╤╡─└α╨═'
@ 7,29 say '==============='
@ 10,25 say '╚í╧√═╨╖╤---------------- 1'
@ 13,25 say '═│╥╗╕─═╨╖╤-------------- 2'
@ 16,25 say '╨┬╘÷═╨╖╤---------------- 3'
@ 19,25 say '═╦│÷-------------------- 4'
@ 21,20 say '╟δ╩Σ╚δ─·╥¬╤í╘±╡─╣ª─▄▒α║┼:' get m
read
if m='1'
bh=0
clear
hh=.t.
do while hh
input '╟δ╩Σ╚δ─·╥¬╚í╧√═╨╖╤╡─╓░╣ñ▒α║┼: ' to bh
go bh
?
list next 1 ╨╒├√,═╨╖╤ for bh=▒α║┼
?
store 0 to xx
replace next 1 ═╨╖╤ with xx for bh=▒α║┼
accept '╩╟╖±╗╣╥¬╚í╧√╞Σ╦√╓░╣ñ╡─═╨╖╤(y/n)? ' to p
?
?
if p='n'.or.p='N'
hh=.f.
endif
enddo
endif
if m='2'
jj=0
clear
@ 10,30 say '═╨╖╤═│╥╗╕─╬¬: ' get jj
read
replace all ═╨╖╤ with jj for ═╨╖╤<>0
endif
if m='3'
bh=0
q=0
clear
kk=.t.
do while kk
input '╟δ╩Σ╚δ─·╥¬╨┬╘÷═╨╖╤╡─╓░╣ñ▒α║┼: ' to bh
go bh
?
list next 1 ╨╒├√,═╨╖╤ for bh=▒α║┼
?
input '╨┬╘÷╓░╣ñ═╨╖╤╬¬: ' to q
?
replace next 1 ═╨╖╤ with q for bh=▒α║┼
accept '╩╟╖±╗╣╥¬╘÷╝╙╨┬╘÷╓░╣ñ═╨╖╤(y/n)? ' to r
?
if r='n'.or.r='N'
kk=.f.
endif
enddo
endif
if m='4'
? '═╦│÷'
endif
release m,kk,r,q,bh,jj,hh,p,xx
case d=13
bh=0
clear
pp=.t.
do while pp
input '╟δ╩Σ╚δ╥¬╨▐╕─╖┐╫Γ╡─╓░╣ñ▒α║┼: ' to bh
go bh
?
list next 1 ╨╒├√,╖┐╫Γ for bh=▒α║┼
?
input '╧╓╖┐╫Γ╕─╬¬: ' to fz
?
replace next 1 ╖┐╫Γ with fz for bh=▒α║┼
accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─╖┐╫Γ(y/n)? ' to qq
?
if qq='n'.or.qq='N'
pp=.f.
endif
enddo
case d=14
j=' '
clear
@ 8,30 say '╨▐╕─▒ú╜í╖╤╡─└α╨═'
@ 9,29 say '================='
@ 12,25 say '═│╥╗╨▐╕─▒ú╜í╖╤------------------- 1'
@ 15,25 say '╓╗╨▐╕─╕÷▒≡╓░╣ñ╡─▒ú╜í╖╤----------- 2'
@ 18,25 say '═╦│÷----------------------------- 3'
@ 21,25 say '╟δ╩Σ╚δ─·╥¬╤í╘±╡─╣ª─▄▒α║┼:' get j
read
if j='1'
k=0
clear
@ 10,30 say '▒ú╜í╖╤═│╥╗╕─╬¬:' get k
read
replace all ▒ú╜í with k for ▒ú╜í<>0
endif
if j='2'
bh=0
bgf=0
clear
ee=.t.
do while ee
input '╟δ╩Σ╚δ─·╥¬╨▐╕─▒ú╜í╖╤╡─╓░╣ñ▒α║┼: ' to bh
go bh
?
list next 1 ╨╒├√,▒ú╜í for bh=▒α║┼
?
input '╧╓▒ú╜í╖╤╕─╬¬: ' to bgf
replace next 1 ▒ú╜í with bgf for bh=▒α║┼
?
accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─▒ú╜í╖╤(y/n)? ' to l
?
if l='n'.or.l='N'
ee=.f.
endif
enddo
endif
if j='3'
? '═╦│÷'
endif
release j,ee,l,bh,k,bgf
case d=15
bh=0
kcf=0
clear
af=.t.
do while af
input '╟δ╩Σ╚δ╥¬╨▐╕─┐█│╡╖╤╡─╓░╣ñ▒α║┼: ' to bh
go bh
?
list next 1 ╨╒├√,┐█│╡╖╤ for bh=▒α║┼
?
input '╧╓┐█│╡╖╤╕─╬¬: ' to kcf
replace next 1 ┐█│╡╖╤ with kcf for bh=▒α║┼
?
accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─┐█│╡╖╤(y/n)? ' to ag
?
if ag='n'.or.ag='N'
af=.f.
endif
enddo
case d=16
bh=0
dk=0
clear
ak=.t.
do while ak
input '╟δ╩Σ╚δ╥¬╨▐╕─╡µ┐ε╡─╓░╣ñ▒α║┼: ' to bh
go bh
?
list next 1 ╨╒├√,╡µ┐ε for bh=▒α║┼
?
input '╧╓╡µ┐ε╕─╬¬: ' to dk
replace next 1 ╡µ┐ε with dk for bh=▒α║┼
?
accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─╡µ┐ε(y/n)? ' to al
?
if al='n'.or.al='N'
ak=.f.
endif
enddo
case d=17
bh=0
bxg=0
clear
ap=.t.
do while ap
input '╟δ╩Σ╚δ╥¬╨▐╕─▒ú╧╒╜≡╡─╓░╣ñ▒α║┼: ' to bh
go bh
?
list next 1 ╨╒├√,▒ú╧╒ for bh=▒α║┼
?
input '╧╓▒ú╧╒╜≡╕─╬¬: ' to bxg
replace next 1 ▒ú╧╒ with bxg for bh=▒α║┼
?
accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─▒ú╧╒╜≡(y/n)? ' to aq
?
if aq='n'.or.aq='N'
ap=.f.
endif
enddo
case d=18
clear
go top
do while .not.eof()
store recno() to rno
go rno
?
list next 1 ╨╒├√,╥╣▓═ for ▒α║┼=rno
?
input '╥╣░α╢α╔┘╠∞: ' to yb
replace next 1 ╥╣▓═ with 1.5*yb for ▒α║┼=rno
skip
enddo
case d=19
bh=0
yf=0
clear
am2=.t.
do while am2
input '╟δ╩Σ╚δ─·╥¬╨▐╕─╥⌐╖╤╡─╓░╣ñ▒α║┼: ' to bh
go bh
?
list next 1 ╨╒├√,╥⌐╖╤ for bh=▒α║┼
?
?
input '╧╓╥⌐╖╤╕─╬¬: ' to yf
replace next 1 ╥⌐╖╤ with yf for bh=▒α║┼
?
accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦√╓░╣ñ╡─╥⌐╖╤(y/n)? ' to an
?
if an='n'.or.an='N'
am2=.f.
endif
enddo
case d=20
bh=0
fdgz=0
clear
fd1=.t.
do while fd1
input '╟δ╩Σ╚δ╥¬╨▐╕─╕í╢»╣ñ╫╩╡─╓░╣ñ▒α║┼: ' to bh
go bh
?
list next 1 ╨╒├√,╕í╢» for bh=▒α║┼
?
?
input '╧╓╕í╢»╣ñ╫╩╕─╬¬: ' to fdgz
replace next 1 ╕í╢» with fdgz for bh=▒α║┼
?
accept '╩╟╖±╗╣╥¬╨▐╕─╞Σ╦ⁿ╓░╣ñ╡─╕í╢»╣ñ╫╩(y/n)? ' to fd2
?
if fd2='n'.or.fd2='N'
fd1=.f.
endif
enddo
case d=21
if w1='╓▒╩⌠'.or.w1='╕ú└√'.or.w1='╟░▓µ'.or.w1='│σ╤╣'.or.w1='╙═╞ß'.or.w1='▒╕┴╧'.or.w1='╗·─ú'.or.w1='╨┬▓·╞╖'.or.w1='╫▄╫░'
replace all ╙ª╖ó╩² with ╗∙▒╛╣ñ╫╩+┴╕▓ε+╬∩╠∙+╥╣▓═+▓╣╖ó+▓╣│╡╖╤+╚²╠∙+▒ú╜í+╟σ╥√+╕í╢»-╩┬╝┘-▓í╝┘
replace all ╫▄┐█┐ε with ╥⌐╖╤+╖┐╫Γ+═╨╖╤+┐█│╡╖╤+┤ó╜≡+╡µ┐ε+╣·┐Γ+▒ú╧╒
replace all ╩╡╖ó╩² with ╙ª╖ó╩²-╫▄┐█┐ε
endif
if w1='═╦╨▌'
replace all ╙ª╖ó╩² with ╗∙▒╛╣ñ╫╩+┴╕▓ε+╬∩╠∙+▓╣╖ó+╚²╠∙