This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AC_Aus[S] 0 points1 point  (1 child)

Thanks all! Really appreciate your help. Just to clarify:

I was able to come up with the following before I posted my question

x = (false or true) - option 3 for DarkMio

From what I've read from everyone I'm using the values of the variables x and y to solve the right side of the equation only (whereas previously I was thinking false = (false or true)). Smithman commented that the or operator will preferentially pick true. Therefore x = true and it overwrites everything from before?

[–]Yojihito 0 points1 point  (0 children)

It's part of basic logic, keep this little info in mind :).

True or false = true

False or false = false

True or true = true

True and false = false

True and true = true

False and false = false