Exit

From Free Pascal wiki

Deutsch (de) English (en)


Back to Reserved words.


The reserved word exit allows a procedure or function to be ended immediately.

Example:

...
  begin
   ...
   if ... then 
     exit;
   ...
  end;
...