Next: , Previous: Introduction, Up: Intrinsic Procedures


8.2 ABORT — Abort the program

Description:
ABORT causes immediate termination of the program. On operating systems that support a core dump, ABORT will produce a core dump, which is suitable for debugging purposes.
Option:
gnu
Class:
non-elemental subroutine
Syntax:
CALL ABORT
Return value:
Does not return.
Example:
          program test_abort
            integer :: i = 1, j = 2
            if (i /= j) call abort
          end program test_abort