The Delphi says jumps out has break,continue, Exit,abort, Halt, Runerror.
1. Break forces an exit loop (which can only be placed in a loop) to force an exit from a for statement, a while statement, or a repeat statement.
2. Continue is used to forcibly end this call loop from the For statement, while statement, or repeat statement, and start the next loop.
3, exit is used to exit from the current block of code. If the code is the main program, terminate the program, or the procedure or function immediately if it is a function or procedure.
4, Abort abort the operation of the program, resulting in the exception information without error. Jump out of the ancestor module. And exit is the difference between
Copy Code code as follows:
Procedure P1;
Begin
P2;
P3;
End
procedure P2;
Begin
Abort Exit
End
Procedure P3;
Begin
ShowMessage ().
End
If you use Abort, you cannot execute P3, and if you use Exit, you can perform to P3.
5, halt used to forcibly terminate the execution of the application, return to the operating system (abnormal exit mode).
6, Runerror terminate the execution of the program, and generate a run error (return error code).