Case Block


A BCE Case clause of a Select …. Case statement. The function blocks following this block, and preceding the next Case, Case Else or End Select block, are executed if the expression in the block evaluates to true.


This function block has the following parameter:




A comma separated list of expressions to be compared against test expression, from the Select case clause, using any of the following syntaxes:

expression [,expression]

expression to expression

is rational_operator expression

The resultant type of the expression in expression list must be the same as that of the test expression.

More information

Select…Case (statement).

Select Block (Function Block).

Case Else Block (Function Block).

Conditional function block list.