Arbortext Command Language > Using the Arbortext Command Language > Conditional Expression
  
Conditional Expression
? :
For the expression e1 ? e2 : e3, if the result of the expression e1 is true (non-zero), the value of the expression e2 is returned and the expression e3 is not evaluated. Otherwise, if e1 is false (zero), the value of e3 is returned and the expression e2 is not evaluated.
The following operators are numeric and require numeric operands:
+, -, *, /, &, ^, |, <<, >>, %, ~, ++, and ––
Related Topics
Functions as expressions and commands
Using expressions
Logical expressions
Operands