is evaluation order defined, and evaluation of conditionals"and" to "or

dunbarx at aol.com dunbarx at aol.com
Tue Jun 26 12:50:07 CDT 2012


True.


I was thinking only "true"/



-----Original Message-----
From: Dr. Hawkins <dochawk at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Tue, Jun 26, 2012 12:54 am
Subject: Re: is evaluation order defined, and evaluation of conditionals"and" to "or


On Monday, June 25, 2012, wrote:
>
>
> "or" is a simpler case, as there is never a need to evaluate after
> a first round "true". Again, at least externally.
>

No, they're not.

OR is "when both inputs are false, output is false (else its true)"
AND is "when both inputs are true, output is true (else its false)"

(ok, so I discovered DeMorgan's theorem myself as a kid when I didn't have
the chips I needed (although I expressed it as "invert all the inputs and
the output, and use the other name"



-- 
The Hawkins Law Firm
Richard E. Hawkins, Esq.
(702) 508-8462
HawkinsLawFirm at gmail.com
3025 S. Maryland Parkway
Suite A
Las Vegas, NV  89109
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 


More information about the use-livecode mailing list