If_Not

If the test is FALSE, the script continues executing until the next Else or EndIf statement. Otherwise, only executes actions (if any) between the next Else and EndIf statements.

Parameters

Test

If FALSE, then the next set of actions get executed, up to the Else or End_If, whichever comes first.

Format

If_Not (Test)

Example

Script( If_Not_Test )
Boolean( bOK )
Activate( From_Menu )
Message_Clear
bOK = Ask_OK_Cancel( "Press Cancel to see another message.", "Press Cancel", FALSE )
If_Not( bOK )
Message( "bOK is FALSE", 0 )
End_If
Return

See Also

If, Else, End_If

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal