Easy Extend
8.7 Description of the script language
Identifier <tag>
FOR
BREAK
WHILE
234
Meaning
The FOR loop is executed as follows:
1. The expression initialization (INIT) is analyzed.
2. The expression test (CONDITION) is analyzed as a Boolean expression.
If the value is false (FALSE) the FOR loop is ended.
3. The following statements are executed.
4. The expression continuation (INCREMENT) is analyzed.
5. Proceed with Step 2.
for (initialization, test, continuation) statements
Syntax:
<FOR>
<INIT>...</INIT>
<CONDITION>...</CONDITION>
<INCREMENT>...</INCREMENT>
Statements
...
</FOR>
Conditional cancellation of a loop
The WHILE loop is used to execute a sequence of statements repeatedly
while a condition is met. This condition is tested before the sequence of
statements is executed.
while (test) statements
Syntax:
<WHILE>
<CONDITION>...</CONDITION>
Statements
...
</WHILE>
Commissioning Manual, 02/2012, 6FC5397-3DP40-3BA0
Turning and Milling