| loop | Index Level | then |
| Syntax | repeat |
| Category | TCL |
| Type | Command |
| Description |
restarts paragraph execution at the line following the most recent "loop" statement.
Note that paragraph will correctly handle a loop structure within another loop structure. |
| Options | |
| See Also | paragraph loop |
| Example |
paragraph
loop time if <<a,Quit (Y/N)?>> = y then go done repeat done: This example will repeatedly print the time and ask the user if he/she whishes to quit. |
| Warnings | Be careful to insert a branching statement inside the loop as the repeat will otherwise loop forever. |
| Compatibility | AP 6.1 |
| loop | Index Level | then |