If flag false

Command groupFlag affectedReversibleExecute on clientPlatform(s)
ConstructsNONOYESAll

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 Else, Else 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