× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I think the part you may be overlooking is that "Operation Precedence"
applies to expressions, not statements.

 "X < 10 + 5 * 4" is an expression.

 "X < 10 + 5 * 4 AND A=1" is two expressions, but the second one is not
 evaluated if X is not less than 30.

At least, that's how I think of it.


On Thu, 20 Mar 2003, Dan wrote:
>
> Your example does not include the use of the =, <>, >, >=, <, <=
> operators.  What if your example  were thus:
>     A AND B AND X < 10
>
> According to the rules of Operation Precedence, the X < 10 should be 
> evaluated before A AND B.
>
> Where am I going wrong on this?
>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.