contains operator

Thomas McGrath III 3mcgrath at adelphia.net
Tue Feb 24 22:29:46 EST 2004


Actually since your are saying c is NOT among the CHARS of "abc"  Then 
it is false. C is among the Chars of abc but the expression asks if it 
is Not among and that is false cause it is.

FWIW

tom

On Feb 24, 2004, at 8:26 PM, Jeanne A. E. DeVoto wrote:

>
> That's not quite right. If you check
>   c is not among the chars of "abc"
> it will evaluate to true, because you are testing chars (not words). 
> In this case, "c" is one of the characters in "abc", so the expression 
> evaluates to true.
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list