These codes create the framework for assessing Boolean conditions. The basic structure is:
if ( [not] (condition) ) result1 else if ( [not] (condition) ) result2 else result3 endif.
The optional 'not' argument reverses the conditional check to matching false instead of true.