RE: Question about operators

2012-02-16 Thread Ralph DiMola
Bob Sneidar Sent: Thursday, February 16, 2012 3:20 PM To: How to use LiveCode Subject: Re: Question about operators You must be mistaken about why it isn't executing. It is working for me. In a button script: ON mouseUp pMouseBtnNo IF 1=2 OR 1=1 THEN put "Awesome!" ELSE pu

Re: Question about operators

2012-02-16 Thread Bob Sneidar
ists.runrev.com > [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar > Sent: Thursday, February 16, 2012 12:09 PM > To: How to use LiveCode > Subject: Re: Question about operators > > I have tried that to as a kind of between function. It doesn't wor

RE: Question about operators

2012-02-16 Thread Ralph DiMola
LiveCode Subject: Re: Question about operators I have tried that to as a kind of between function. It doesn't work. It will evaluate one part which will return true or false, then the next part which essentially says true <= 8 which of course is false. Bob On Feb 16, 2012, at 7:49 AM,

Re: Question about operators

2012-02-16 Thread Bob Sneidar
I have tried that to as a kind of between function. It doesn't work. It will evaluate one part which will return true or false, then the next part which essentially says true <= 8 which of course is false. Bob On Feb 16, 2012, at 7:49 AM, Timothy Bleiler wrote: > Hi, > If I type Put 1<=1 AND

Re: Question about operators

2012-02-16 Thread Mike Bonner
What I think is happening is.. 1<=1 (evals to true) so true <=8 is false On Thu, Feb 16, 2012 at 8:55 AM, Peter M. Brigham, MD wrote: > On Feb 16, 2012, at 10:49 AM, Timothy Bleiler wrote: > > > Hi, > > If I type Put 1<=1 AND 1<=8 into the message box I get true, but if > > If I type Put 1<=1<=

Re: Question about operators

2012-02-16 Thread Peter M. Brigham, MD
On Feb 16, 2012, at 10:49 AM, Timothy Bleiler wrote: > Hi, > If I type Put 1<=1 AND 1<=8 into the message box I get true, but if > If I type Put 1<=1<=8 into the message box I get false. > > Am I missing something or is the second form not allowed? The second form is not a kosher LC statement.

Question about operators

2012-02-16 Thread Timothy Bleiler
Hi, If I type Put 1<=1 AND 1<=8 into the message box I get true, but if If I type Put 1<=1<=8 into the message box I get false. Am I missing something or is the second form not allowed? Thanks, Tim Bleiler ___ use-livecode mailing list use-livecode@li