Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
9944 มุมมอง

How is it possible to make a condition with :

A & ( (B & C) | (D & E) | (F & G) )


??


 


( and if you can explain how it works .. because in the documentation, it's very light )

Thank you very much

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Julien, 
your domain should be this : 
 &, A, '|', '|', &, B, C, &, D, E, &, F, G
To get it, you need to follow this step by step: 

Considering  : 
Q = (B & C) | (D & E)
A & ( (B & C) | (D & E) | (F & G) )  =  A & ( Q | (F & G) )

SO it would be : 

&, A,  Q | (F & G)
&, A, |, Q, (F & G)
&, A, |, Q, &, F, G      (M)

Now for Q it will be  : 

Q = (B & C) | (D & E)
|, (B &C), (D & E)

|, &, B, C, &, D, E
Take that and replace it in (M), you will get

&, A, |, |, &, B, C, &, D, E, &, F, G

Upvote if this helps!
Thank you

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 24
2720
1
พ.ย. 22
5048
2
ก.ค. 22
3790
2
ก.ค. 17
6887
5
ก.ค. 15
6136