If cond Then command

 If cond [Then]
   commands
 Else If cond [Then]
   commands
 Else
   commands
 EndIf

Conditional execution. The If condition is evaluated. If it yields True, the first (or only) set of commands is executed. If it yields False or EMPTY, the Else If condition, if any, is checked, and the first matching set of commands is executed. If neither condition yields True, the Else commands are executed.

There can be any number of Else If blocks (including none at all), and zero or one Else blocks.

Version Differences: Else If is supported since PCC 1.1.13.

Since: PCC 1.0.6, PCC2 1.99.9

See also: Select, If (Elementary Function)