Help Files
Conditional Expression Selection

If function

if (condition, expr1, expr2)

parameters

  1. condition:

    Boolean condition to be evaluated.

  2. expr1:

    Expression to be returned if the condition evaluates to true.

  3. expr2:

    Expression to be returned if the condition evaluates to false.

Examples

if ("/GCL[0]" >= "/GCL[1]", "/GCL[0]", "/GCL[1]")