in reply to Re^2: Complex conditional statements
in thread Complex conditional statements

Replace then with &&.

IE if ( A ) { B } is the same as A && B. Likewise if ( !A ) { B } is the same as A || B.

So to code if !B then A else if (E and F) then (C and D) you would say

( ! B ) ? A : ( ( E && F ) && ( C && D ) )