[Circuit Network] Why is Everything and Anything not working as expected?
Posted: Fri Apr 30, 2021 1:38 pm
First Case
I met "unexpected" behaviour when I use the "Everything not equals something" operator as follows: In the above situation, I think the condition "should" evaluate to False since one of the signals is indeed the Red Signal. However, the decider combinator checks the condition being True and output the specified signal.
Second Case
when I use the "Anything equals something" operator as follows: In the above situation, why wouldn't the condition be evaluated to True as one signal is Red?
I must be thinking it wrong somewhere. Really appreciate if someone could point out what I misunderstand and explain the inner workings for me? I have searched on the Wiki and the forum, but nothing similar comes up. I also have some programming experience. In my current understanding, "Everything" means AND every single condition while "Anything" means OR every condition. Is that mindset wrong?
I met "unexpected" behaviour when I use the "Everything not equals something" operator as follows: In the above situation, I think the condition "should" evaluate to False since one of the signals is indeed the Red Signal. However, the decider combinator checks the condition being True and output the specified signal.
Second Case
when I use the "Anything equals something" operator as follows: In the above situation, why wouldn't the condition be evaluated to True as one signal is Red?
I must be thinking it wrong somewhere. Really appreciate if someone could point out what I misunderstand and explain the inner workings for me? I have searched on the Wiki and the forum, but nothing similar comes up. I also have some programming experience. In my current understanding, "Everything" means AND every single condition while "Anything" means OR every condition. Is that mindset wrong?