3. Statements : OpenROAD Language Statements : Endloop Statement
 
Share this page                  
Endloop Statement
This statement terminates a for, select, or while loop.
This statement has the following syntax:
endloop [label];
The endloop statement terminates a for, select, or while loop. The statement then transfers control to the first statement following the terminated loop's endfor, end, or endwhile statement.
The endloop statement is unlike the resume statement, which can be used to terminate both the loop and the current event block. It differs also from the continue statement, which skips over statements in a loop but continues with the next iteration.
For more information about loop statements, see the descriptions of the continue statement (see Continue Statement), the for statement (see For Statement), the select statement (see Select Statement), and the while statement (see While Statement).