Equinox Online Help - Language Reference - A to Z
Repeat ... End Repeat |
|
---|---|
Applies to | |
Syntax | repeatstatementsend repeat |
Action | [Statement] The statements enclosed between Repeat and End Repeat continue in an endless loop. |
Scope | Usable anywhere. |
Notes | The statements execute and control returns to the first line after the Repeat statement. Exit Repeat passes control to the End Repeat statement. Continue Repeat causes control to return directly to the first line after the Repeat statement. You may nest Repeat to as many levels as required. |
Category | Flow Control |
See Also | Block_EndBlock, BreakPressed, Continue, Execute, EnableInput, Exit, For...Next, Goto, If_Then, Repeat_Until, Return, Sleep, Subtable, Switch, While_EndWhile |
Example | The following example invokes a question and continues unless the correct answer is given. number AnswerAttempt |