Verification of running condition at the beginning of the loop
The syntax of this loop begins with:
$WHILE <expr>
and always ends with:
$ENDWHILE
At the beginning of every loop pass the stated parameters are verified. The loop is broken off if the expression <expr> assumes the value range of FALSE(-0.5<expr>0.5).
Programmierbeispiel
N90 P1 = 100.0
N100 $WHILE P1 > 0.5 P1 > 0.5 is tested for FALSE at the loop
N110 P1 = P1 - 1.5 Y P1 beginning. The loop is traversed till P1 ful-
N120 $ENDWHILE fills the aborting condition
N130 ...