annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Good Ol' Boolean Logic Question

Risolto!
Vai alla soluzione

These are like riddles to me!

 

I want "if x is false and y is true return true. Otherwise, return false."

 

Here is what I came up with.

 

 

Is there a better way?

 

0 Kudos
Messaggio 1 di 3
2.836Visualizzazioni
Soluzione
Accettato da GregFreeman

You can use a compound node and invert the appropriate inputs and output. (See also).

 

(If the output is just wired to a case structure, you could simply flip the content of the two cases and skip the invert)

0 Kudos
Messaggio 2 di 3
2.830Visualizzazioni

It's actually going to a boolean to number function then to a ring control, but this is what I was looking for. Thanks.

0 Kudos
Messaggio 3 di 3
2.827Visualizzazioni