valueDiff for arrays?

Mark Wieder ahsoftware at sonic.net
Sun Aug 5 23:15:04 EDT 2018


On 08/05/2018 05:42 PM, Monte Goulding via use-livecode wrote:

> I was describing a situation where you are forcing something that is not a boolean to be one so true is true and everything else is false. You are describing comparing something to a boolean in which case rightly or wrongly both sides are converted to strings so you end up comparing “” to “false"

Interesting. And here I was just assuming that true and false were 
boolean constants, like in any other language. So empty is a constant 
and one is a constant, but true and false are not. Wouldn't things be 
faster if we made them constants?

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list