Difference between revisions of "Except"

From Free Pascal wiki
Jump to navigationJump to search
m (Added page link back to list of reserved words)
Line 1: Line 1:
 
{{Except}}
 
{{Except}}
 +
 +
 +
Back to [[Reserved words]].
 +
  
 
<syntaxhighlight lang="pascal" enclose="none">except</syntaxhighlight> is a [[Reserved word|reserved word]] that is only used in conjunction with [[Try|try]].
 
<syntaxhighlight lang="pascal" enclose="none">except</syntaxhighlight> is a [[Reserved word|reserved word]] that is only used in conjunction with [[Try|try]].
Line 16: Line 20:
  
 
== See also ==
 
== See also ==
 +
 
* [[Finally]]
 
* [[Finally]]
 
* [[runtime error|run-time error]]
 
* [[runtime error|run-time error]]

Revision as of 14:11, 14 February 2020

Deutsch (de) English (en) suomi (fi)


Back to Reserved words.


except is a reserved word that is only used in conjunction with try.

exception handling:

  try
     
  except 
    on  do  
  end;

also requires auxiliary keywords on, do, and end;.

See also