There is already a string keyword. Bob S
> On Sep 6, 2018, at 21:53 , Jim Lambert via use-livecode > <use-livecode@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 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode