How to Enter a Statement
Entering a statement like the IF statement is very easy with the XG5000 software.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Type in IF and press the Enter key.
You just need to program the (*condition*) and (*statements*) parts like this.
Note: The ELSIF statement needs to be added manually.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Template:
Sample Program:
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Template:
Sample Program:
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Template:
Sample Program:
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Template:
Sample Program:
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
The EXIT statement can be used with the FOR, WHILE, and REPEAT statements as follows:
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Template:
Sample Program:
LP304D-7