Exceptions: Difference between revisions
→shortened catch
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
Line 1,557:
A shortened catch does not allow an else section (action for no exception).
<lang langur>
catch if .err["cat"] == "math" {
# change result
} else {
|