Program termination: Difference between revisions
Content added Content deleted
(→{{header|Python}}: Add subheadings/emphasis) |
({{header|UNIX Shell}}) |
||
Line 633: | Line 633: | ||
There are no objects to be cleaned up. |
There are no objects to be cleaned up. |
||
=={{header|UNIX Shell}}== |
|||
{{works with|Bourne Shell}} {{works with|bash}} |
|||
<lang sh>#!/bin/sh |
|||
a='1' |
|||
b='1' |
|||
if [ "$a" -eq "$b" ]; then |
|||
exit 239 # Unexpected error |
|||
fi |
|||
exit 0 # Program terminated normally |
|||
</lang> |
|||
=={{header|Vedit macro language}}== |
=={{header|Vedit macro language}}== |