Re: Equals is not always transitive

2017-01-25 Thread Arnaud de Montard
> Le 24 janv. 2017 à 16:15, Chip Scheide <4d_o...@pghrepository.org> a écrit : > > "@" always on the right I'd say "not wildcard on the left" or "wildcard on the right" instead; it happens I put it on the left! ;-) $str:="qwe@ty" $arobase:="@" ASSERT($str[[4]]=$arobase) //wildcard

Re: Equals is not always transitive

2017-01-24 Thread Kirk Brooks
Tom, Good job on burying the real lede in this exchange - that you have the archive going back over 20 years... On Tue, Jan 24, 2017 at 3:24 PM, Tom Dillon wrote: > David Adams wrote: > > >! Yeah, but the great thing about forgetting is that you can read books > and >

Re: Equals is not always transitive

2017-01-24 Thread Tom Dillon
David Adams wrote: >! Yeah, but the great thing about forgetting is that you can read books and >see movies again for the first time. Now I get to be a newbie in 4D again >;-) I've developed small database that shrinks a list of my ten favorite movies, based on how I answer questions, until

Re: Equals is not always transitive

2017-01-24 Thread Keith Culotta
"@lt" right? Keith - CDI > On Jan 24, 2017, at 9:15 AM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > "@" always on the right > > On Tue, 24 Jan 2017 14:00:51 +1100, David Adams wrote: >> >> If someone has something usefully smart to say to help me keep this >> straight in my head, I'm

Re: Equals is not always transitive

2017-01-24 Thread Jeremy French
Hi David, This section of the Language Reference may help in remembering which operand (of the equality operator) gets the wildcard. It’s found in “Operators” -> “Comparison Operators”. Then look for section titled "More about string comparisons”. For wildcard placement: "The wildcard

Re: Equals is not always transitive

2017-01-24 Thread David Adams
> Shouldn't that be 'commutative Sounds like it. Yeah, that one! On Tue, Jan 24, 2017 at 7:29 PM, Koen Van Hooreweghe wrote: > Hi David, > > Shouldn't that be 'commutative'? I.e. when changing the order of the > operands does not change the result. > Transitive in this

Re: Equals is not always transitive

2017-01-23 Thread David Adams
That's it. For those following along at home: C_BOOLEAN($returns_false) C_BOOLEAN($returns_true) $returns_false:="@"="Hello" // No match $returns_true:="Hello"="@"// Match ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Equals is not always transitive

2017-01-23 Thread Walt Nelson
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,