EXIT causes immediate termination of the program with status. If status is omitted it returns the canonical success for the system. All Fortran I/O units are closed.
|STATUS||Shall be an
STATUS is passed to the parent process on exit.
program test_exit integer :: STATUS = 0 print *, 'This program is going to exit.' call EXIT(STATUS) end program test_exit
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.