<< Prev        Next >>

ID : 696

Conditional Branching

Conditional branching can create more versatile programs. Programs that contain majority of processes that are common and some variants can be programs that can be used commonly by attaching conditional branches to the variants.

Use a conditional expression to designate conditions of branching.

Command name Function
If...End If

To execute statements between If and End If.

More than one process can be designated.

If...Then...Else

To perform conditional judgment of logical expression.

Only one statement can be designated.

Select Case...End Select

To execute one of statement blocks in accordance with the conditional expression value.

Used when there are multiple alternatives.

ID : 696

<< Prev        Next >>

Related Information
Conditional Expression