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
 ahsoftw...@gmail.com

_______________________________________________
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

Reply via email to