If flag false

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

Syntax

If flag false

Description

This command lets you implement a branch or change of processing order within a method depending on the result of the previous command. It tests the flag and if it is false, the commands following the If flag false are executed. However, if the flag is true, control branches to the next ElseElse If or End If in the method.

Example

; Open the window wMyWindow if it is not already open
Test for window open {wMyWindow}
If flag false
  Open window instance wMyWindow
End If