Exit

From Free Pascal wiki
Revision as of 02:09, 14 February 2020 by Trev (talk | contribs) (English translation of German page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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;
...