> On 6 Aug 2018, at 9:55 am, Mark Wieder via use-livecode > <use-livecode@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 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode