This is disturbing!

Mike Kerner MikeKerner at roadrunner.com
Thu Sep 6 12:02:42 EDT 2018


dictionary says when comparing strings we go char by char, and says that
quotes around the literal causes it to be evaluated as a string.

On Thu, Sep 6, 2018 at 11:57 AM Mike Kerner <MikeKerner at roadrunner.com>
wrote:

> If I put anything else in place of the dot, I get a fail, but with the
> dot, i get true
>
> On Thu, Sep 6, 2018 at 11:55 AM Tore Nilsen via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> It seems to only compare the integer part of the statements. If you
>> substitute the integer with a letter, then it reports false. But still
>> strange as the quotation marks should indicates that this is a string.
>>
>> Best regards
>> Tore Nilsen
>>
>> -------
>> This mail contains no viruses or bacteria as it is electronically
>> produced and untouched by human hands. Once printed it may or may not
>> contain various microorganisms that can cause diseases. Print and hand out
>> at own risk. Unsolicited distribution of this mail is prohibited.
>>
>>
>>
>>
>>
>>
>>
>> > 06. sep. 2018 kl. 17:46 skrev Bob Sneidar via use-livecode <
>> use-livecode at lists.runrev.com>:
>> >
>> > Did anyone know that "6. " is equal to "6."???
>> >
>> > THAT is disturbing! So now we have to check the length of a string as
>> well to make sure there is an exact match???
>> >
>> > Bob S
>> >
>> >
>> > _______________________________________________
>> > use-livecode mailing list
>> > use-livecode at lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>    and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list