You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
271 B
16 lines
271 B
7 months ago
|
BEGIN {
|
||
|
print "this is before calling myabort"
|
||
|
myabort(1)
|
||
|
print "this is after calling myabort"
|
||
|
}
|
||
|
function myabort(n) {
|
||
|
print "in myabort - before exit", n
|
||
|
exit 2
|
||
|
print "in myabort - after exit"
|
||
|
}
|
||
|
END {
|
||
|
print "into END"
|
||
|
myabort(2)
|
||
|
print "should not see this"
|
||
|
}
|