Exceptions: Difference between revisions
Content deleted Content added
+ AutoHotkey |
m →{{header|AutoHotkey}}: Minor indentation and casing edit |
||
Line 141: | Line 141: | ||
foo() |
foo() |
||
If ErrorLevel |
If ErrorLevel |
||
Msgbox calling foo failed with: %ErrorLevel% |
Msgbox calling foo failed with: %ErrorLevel% |
||
foo() |
foo() |
||
{ |
{ |
||
If success |
|||
Return |
|||
return |
|||
Else |
|||
ErrorLevel = foo_error |
|||
Return |
|||
} |
} |
||