ABORT(3F) COMMAND REFERENCE ABORT(3F)
NAME
abort - terminate abruptly with core image
SYNOPSIS
subroutine abort (string)
character*(*) string
DESCRIPTION
Abort cleans up the I/O buffers and then aborts producing a
core file in the current directory. If string is given, it
is written to logical unit 0 preceded by abort:.
EXAMPLES
The following section of FORTRAN code calls the abort
routine in cases where the value of i is out of range. The
code could be used for debugging a FORTRAN program where i
should never be out of the range from 1 to 3.
.
.
GOTO (10,20,30) i
CALL abort ("Computed GOTO out of range 1-3")
10 [FORTRAN statements associated with 1st
statement label]
.
.
20 [FORTRAN statements associated with 2nd
statement label]
.
.
30 [FORTRAN statements associated with 3rd
statement label]
.
.
FILES
/usr/lib/libF77.a f77 intrinsic function (math) and
startup library.
SEE ALSO
abort(3c).
Printed 10/17/86 1
%%index%%
na:72,78;
sy:150,367;
de:517,349;
ex:866,826;
fi:1692,192;
se:1884,87;
%%index%%000000000104