> Did anyone know that "6. " is equal to "6."???
It’s somewhat similar to
value(“h “) is equal to value(“h”),
while
“h “ is not equal to “h”.
I’m not disturbed but appreciative that the engine tries to convert both sides
to numbers when doing a comparison. Just must remember that and use more
“string-y” ways to compare strings as only strings.
For example other functions can reveal the strings “6. “ and “6.” are not the
same string, such as length(“6. “) is not equal to length( “6.”).
Jim Lambert
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode