Older Version
Newer Version
MikeGerz
Jan 28, 2006
{' *
'**** Here is an alternativeprogram.program.** **
''** * It's much shorter, and it also removes **
''** * EVERY occurrence of the letter, not just one.****
''** * by Michael D. Gerzevitz* 1-28-06**** 1-28-06** ***
'*'** ***
dim x$(100)
a$=""a$="""Enter"Enter astring"string"
input": ";x$": ";x$
[main]
l=len(x$)"Type"Type a character toremove"remove"
input": ";r$": ";r$
ifr$=""r$="" then [quit]
for y=1 to l
x$(y)=mid$(x$,y,1)
if not(x$(y)=r$) then
a$=a$+x$(y)
end if
next
x$=a$
print a$
a$=""a$=""
goto [main]
[quit]
endend**}
'* Also, I'd love to be able to print this in Courier New.*'* I've tried various ways of Copy and Paste, but'* nothing works. I'd also like to be able to indent.' * Indented code looks so elegant.