Jump to content
Sign in to follow this  
nordin dk

boolean error

Recommended Posts

After some scrutiny, it seems this line returns

an error message. Is there something wrong with it, cos' I can't see it.

(usaflag AND rusflag) OR (NOT usaflag AND NOT rusflag)

I bet it's very simple, but I'm blind to it right now, any help appreciated.

Share this post


Link to post
Share on other sites

Try

(((usaflag) && (rusflag)) OR ((!usaflag) && !rusflag)))

maybe that works. You should have brackets around the whole boolean thing, else the compiler will have some probs.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×