Let me generalize your expression
<SPAN class="comment token"># A XOR B</SPAN> <SPAN class="punctuation token">(</SPAN>A <SPAN class="operator token">AND</SPAN> <SPAN class="operator token">NOT</SPAN><SPAN class="punctuation token">(</SPAN>B<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">OR</SPAN> <SPAN class="punctuation token">(</SPAN><SPAN class="operator token">NOT</SPAN><SPAN class="punctuation token">(</SPAN>A<SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">AND</SPAN> B<SPAN class="punctuation token">)</SPAN> <SPAN class="comment token"># this should work too with one less NOT</SPAN> <SPAN class="punctuation token">(</SPAN>A <SPAN class="operator token">OR</SPAN> B<SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">AND</SPAN> <SPAN class="punctuation token">(</SPAN><SPAN class="operator token">NOT</SPAN> <SPAN class="punctuation token">(</SPAN>A <SPAN class="operator token">AND</SPAN> B<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Meld je aan om te posten, content te volgen en meer. Nieuw hier? Registreer gratis.