Difference between revisions of "Except"

From Lazarus wiki
Jump to navigationJump to search
m (Added page link back to list of reserved words)
(Undo revision 131951 by Trev (talk): linking _one_ _static_ page as a “back page” does not make sense, as there are many pages linking here)
Tag: Undo
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 20: Line 16:
  
 
== See also ==
 
== See also ==
 
 
* [[Finally]]
 
* [[Finally]]
 
* [[runtime error|run-time error]]
 
* [[runtime error|run-time error]]

Revision as of 15:59, 11 December 2020

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

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