Except: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Except
| Old | New | Line | |
|---|---|---|---|
| 1 | + | `except` is a [[Reserved word|reserved word]] that is only used in conjunction with [[Try|try]]. | |
| 2 | + | ||
| 3 | + | [[Exceptions|exception]] handling: | |
| 4 | + | ||
| 5 | + | ``` pascal | |
| 6 | + | try | |
| 7 | + | … | |
| 8 | + | except | |
| 9 | + | on … do … | |
| 10 | + | end; | |
| 11 | + | ``` | |
| 12 | + | ||
| 13 | + | also requires auxiliary [[Keyword|keywords]] [[On|on]], [[Do|do]], and [[End|end;]]. | |
| 14 | + | ||
| 15 | + | ## See also | |
| 16 | + | ||
| 17 | + | - [[Finally]] | |
| 18 | + | - [[runtime error|run-time error]] | |
| 19 | + | ||
| 20 | + | --- | |
| 21 | + | *From the Free Pascal wiki, page "Except", as it stood on 2022-08-06 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
