filepro edit
Kenneth Brody
kenbrody at bestweb.net
Wed Mar 23 12:57:56 PST 2005
Quoting Robert Pulliam M.D. (Wed, 23 Mar 2005 15:39:28 -0500):
> I want to write and edit that will accept any charcter but ".
> I have tried *|[!"!] in multiple combinations and permutations without
> success. Any suggestions.
One of the current limitations of the edit syntax is that quotes are
used for literals, and you can't put a quote within the quotes.
>From the edit you have tried to write, it appears that you really want
to eliminate any quotes within the field, rather than simply not allow
quotes. For that you would need to use the XLATE function:
result = xlate(value,chr("34"),"")
To simply not allow quotes, you could use an edit that allows anything
less than a quote, or more than a quote:
{ (" "-"!") | ("#"-"~") }
If you need an 8-bit-aware edit, replace the tilde with the highest
character you can enter.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list