If Expression


Conditionally executes a group of actions, depending on the value of a logical expression. If the expression evaluates to TRUE, steps following 'If' and preceding 'Else' or 'End If' (whichever occurs first) are executed. Otherwise, it executes the actions follow the next 'Else' or 'End If'.

The 'If Expression' is one of the most useful actions. It enables you to evaluate a sequence of statements if a condition is true and evaluate a different sequence of statements if it is not true.

Parameters

  • Expression Specifies the logical expression, e.g. v_abc > 100 and v_abc < 200, v_name == 'Jack' and v_age = 10.

Additional References