### Title

Logic Rules!

### Post

Can anyone explain the logic rules in FMP?

I am surprised to find that "0 and 1 or 1" = 1

i would have thought the "0 and" would cause it to be zero

of course it is not clear to me how to read the sentence without parenthesis

but since there is no error generated, what are the logic rules when the order of calculation is not specified?

It evaluates from left to right just as would be specified in a math text book.

0 and 1 evaluates as 0

0 or 1 evaluates as 1

so you get the result of 1 (True).