The OP wanted to distinguish between "0" and "0."
LC evaluates both strings as equal, since it is trying to be helpful, evaluating these on the fly based on their context. But the issue is whether there should be a property (stringEval?) which turns off this "feature", and keeps strings exactly as, er, strings.
Code: Select all
on mouseUp
put "0" into temp
put "0." into foo
answer temp = foo --"true"
set the stringEval to "true" --default is "false"
answer temp = foo -- "false"
end mouseUp
Anyone think this is a useful enhancement?
Craig Newman