The EXIT statement may be used within a control structure (For ... Next, Do/While/Until, Switch) to exit the structure, proceeding to the next statement following the end of the structure. For example:
DO WHILE A < B
...
IF TIME > 82800 EXITÂ ! exit loop after 11 PM
...
LOOP