Else If flag true

20% Command group 20% Flag affected 20% Reversible 20% Execute on client 20% Platform(s)
Constructs NO NO YES All

Syntax

Else If flag true

Description

This command follows an If statement and provides a marker before a series of commands that have to be carried out if the flag is true and if the value does not meet the condition specified in the If statement.

Example

# use the Yes/No message to set or clear the flag
Yes/No message {Set flag with Yes or No}
If flag false
  OK message {flag is 0}
Else If flag true
  OK message {flag is 1}
End If