DO <statement block> UNTIL <Boolean expression>
DO INC Var1 UNTIL Array1[Var1] <> 10
DO
{
INC Var2, 5
WAIT 5 sec
}
UNTIL FreeCap(Loc1) > 5
Repeats a statement or statement block continuously while a condition remains false. DO...UNTIL is an exit-condition loop, meaning that the loop will always be executed at least once. Use DO...UNTIL when an operation will always be executed at least one time and possibly more times.
Any logic.
<statement block>
The statement or block of statements to execute.
<Boolean expression>
As long as this expression is FALSE, the loop will continue. This expression is evaluated for each iteration of the loop.
Process Table
Entity... |
Location... |
Operation (min)... |
Blank |
Machining |
INT Count = 0 DO { WAIT 5 min INC Count } UNTIL Count = Attr1 |
Routing Table
Blk |
Output... |
Destination... |
Rule... |
Move Logic... |
1 |
Base |
Painting |
FIRST 1 |
|
See Also
BEGIN, END, DO...WHILE, and WHILE...DO.
![]() |
© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com |