Functionname: If Else statement
Description: If and else allows you to make conditional statements If the condition is true the if block gets executed. If the condition is false the if else block gets executed
Example:
var Condition = MainWindow.FindControl(title:"Condition");
if (Condition != null)
{
Type("Condition is true");
}
else
{
Type("Condition is not true");
}
Please note:
The else statement is not mandatory.
Comments
0 comments
Please sign in to leave a comment.