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.


  • Expression Specifies the logical expression. For example:

    v_abc > 100 and v_abc < 200, v_name == 'Jack'
    v_age = 10

Additional References