valueDiff for arrays?
Monte Goulding
monte at appisle.net
Sun Aug 5 20:42:21 EDT 2018
> On 6 Aug 2018, at 9:55 am, Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> on something p1, p2, p3
> if p1 is false then
> -- fails if p1 is empty
> end if
> if p1 is true then
> -- also fails if p1 is empty
> end if
> end something
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"
Cheers
Monte
More information about the use-livecode
mailing list