valueDiff for arrays?

Mark Wieder ahsoftware at sonic.net
Sun Aug 5 19:55:08 EDT 2018


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

> Actually you need to be careful to remember not to put not before a boolean expression without putting parenthesis around the expression because anything that is not “true” in LC evaluates to false. For example:

That's generally the case, but it falls apart for empty function arguments.

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

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list