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
If success
Return
return
else
Else
ErrorLevel = foo_error
ErrorLevel = foo_error
return
Return
}
}