statements in a repeat forever structure repeat continuously. exit repeat statement in the loop, it continues running the handler starting from the first statement after end repeat. next repeat statement, it returns immediately to the beginning of the repeat loop.