Where did I go wrong in my steps?  

-- false AND true  evaluates to false
-- true  AND false evaluates to false


--- Richard Gaskin <[EMAIL PROTECTED]> wrote:
> 
> When I put this in the Message Box:
> 
>    put value( true AND false AND true OR NOT true
> AND NOT false )
> 
> I get "false".  
> 
> But based on the order of precedence (NOT, then AND,
> then OR), I would think
> this would evaluate like this (broken down to show
> intermediate steps as I
> understand them):
> 
> 
> 1.    true AND false AND true OR NOT true AND NOT
> false
>                                  --------    
> ---------
> 
> 
> 2.    true AND false AND true OR false    AND true
>       --------------
> 
> 
> 3.    true           AND true OR false    AND true
>       -----------------------    -----------------
> 
> 
> 4.    true                    OR true
>       -------------------------------
> 
> 
> 5.    true
> 
> 
> Where did I go wrong in my steps?  Or is this a bug
> in the MC interpreter?
> I kinda doubt the latter on this one, yet I've been
> looking at it too long
> to see where I goofed -- any clues?  Does the "left
> to right" rule override
> precedence for Boolean operators?

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to