This is disturbing!
Bob Sneidar
bobsneidar at iotecdigital.com
Fri Sep 7 10:48:40 EDT 2018
There is already a string keyword.
Bob S
> On Sep 6, 2018, at 21:53 , Jim Lambert via use-livecode <use-livecode at lists.runrev.com> wrote:
>
>
>> RichardG wrote:
>> Any suggestions for a new operator token to specify numeric equivalence?
>
> Or maybe to specify string equivalence.
>
>> Did anyone know that "6. " is equal to "6."???
>
> string( "6. “) is not equal to string( "6.”)
>
> where the function string() would tell LC not to try to convert the string into a number, but simply leave it as a literal string for comparison purposes.
>
> Of course, another way to prevent LC from converting a textual number into an actual number is to append a string to the textual number:
>
> whereas "6. “ = "6.” returns TRUE
> "6. “ & “a” = "6.” & “a” returns FALSE.
>
> Jim Lambert
More information about the use-livecode
mailing list