David,

If you are specifically talking about the @ sign wildcard.

I seem to remember it’s only for the right side of any comparison operator.

No @’s to the left.

Thanks,
Walt Nelson (Seattle)
New stuff coming!
www.foundationshell.com
w...@foundationshell.com

> On Jan 23, 2017, at 7:00 PM, David Adams <dpad...@gmail.com> wrote:
> 
> This is probably documented, long-standing behavior that everyone but me
> knows and remembers. But, just in case, I just (re)discovered that the =
> operator is *not* always transitive. Specifically, when you're comparing a
> string with a wildcard.
> 
> C_TEXT($comparison_text)
> C_TEXT($input_text)
> $comparison_text:="@"
> $input_text:="Hello"
> 
> C_BOOLEAN($returns_false)
> C_BOOLEAN($returns_true)
> $returns_false:=$comparison_text=$input_text
> $returns_true:=$input_text=$comparison_text
> 
> If someone has something usefully smart to say to help me keep this
> straight in my head, I'm all ears.

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to