What if....

Alex Tweedly alex at tweedly.net
Tue Jan 29 17:15:01 EST 2013

On 29/01/2013 20:31, Peter M. Brigham wrote:
> ... With an expression that is exclusively "ands" the first one that evaluates to false settles the value of the expression as false, and the engine stops there and returns the value. With "or" expressions, all the clauses have to be checked in order to decide the value.

Not true :-)

With "or" expressions, as soon as one clause is true, the whole 
expression is true - so evaluation can cease.

-- Alex.

More information about the Use-livecode mailing list