using pipe in conditions

Walter Vaughan wvaughan at steelerubber.com
Tue Jan 30 17:23:47 PST 2007


Scott Nelson wrote:

> Just wondering......
> 
> I have seen the pipe used in ' if: not aa co "a|b|c" '  -  to test if aa 
> does not contain a or b or c.
> 
> Why not as ' if: aa eq "a|b|c" '  - to shorten the condition line, 
> instead of   ' if: aa eq "a" or aa eq "b" or aa eq "c"

I never remember how to do this, but can't you use "co" contains to what you 
want like...

aa co "abc" or is it "abc" co aa ?


More information about the Filepro-list mailing list