Except: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 2 | - | ||
| 3 | - | ||
| 1 | + | ` except` is a [[Reserved word|reserved word]] that is only used in conjunction with [[Try|try]]. | |
| 4 | 2 | ||
| 5 | - | ||
| 6 | - | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 3 | + | [[Exceptions|exception]] handling: | |
| 11 | 4 | ``` | |
| 5 | + | try | |
| 6 | + | … | |
| 7 | + | except | |
| 8 | + | on … do … | |
| 9 | + | end; | |
| 10 | + | ``` | |
| 12 | 11 | ||
| 13 | - | ||
| 12 | + | also requires auxiliary [[Keyword|keywords]] [[On|`on`]], [[Do|`do`]], and [[End|`end;`]]. | |
| 14 | 13 | ||
| 15 | 14 | ## See also | |
| 16 | 15 | ||
| 17 | - | ||
| 18 | - | ||
| 16 | + | * [[Finally]] | |
| 17 | + | * [[runtime error|run-time error]] | |
| 19 | 18 | ||
| 20 | 19 | --- | |
| 21 | - | ||
| 20 | + | *From the Free Pascal wiki, page "Except", as the Internet Archive kept it on 2024-03-08. 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).* |
