valueDiff for arrays?

Monte Goulding monte at appisle.net
Sun Aug 5 23:26:44 EDT 2018



> On 6 Aug 2018, at 1:15 pm, Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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?

They are constants.. the point is in order to compare a boolean to a string you need to convert it to a string and therefore you do string comparison on “” v “false”.

Cheers

Monte


More information about the use-livecode mailing list