| EXECUTE (D3/Unix) | Index Level | EXP |
| Syntax | EXIT |
| Category | BASIC |
| Type | Statement |
| Description |
forces an "early" exit from a loop that is under "for ... next" or "loop ... repeat" control.
The program continues with the next executable statement after the "next" or "repeat" statement. |
| Options | |
| See Also | statements & functions FOR ... NEXT NEXT LOOP |
| Example |
loop
input guess if guess='end' then exit while guess > 1 and guess < 100 do repeat |
| Warnings | If the "exit" is NOT embedded in a "loop" or "for..next" construct, it is ignored. |
| Compatibility | D3 7.0 AP |
| EXECUTE (D3/Unix) | Index Level | EXP |