Exit code with Fortran 90



If I use the istruction
stop n
where n is a integer I found that the program terminate with n as exit code.

I see that this happen compiling when I use the GNU Fortran compiler (gfortran).

Is this behaviour standard, or it is a special behaviour of gfortran?
.



Relevant Pages

  • Re: Exit code with Fortran 90
    ... where n is a integer I found that the program terminate with n as exit code. ... I see that this happen compiling when I use the GNU Fortran compiler. ... Is this behaviour standard, or it is a special behaviour of gfortran? ...
    (comp.lang.fortran)
  • Re: Exit code with Fortran 90
    ... where n is a integer I found that the program terminate with n as exit code. ... I see that this happen compiling when I use the GNU Fortran compiler. ... Is this behaviour standard, or it is a special behaviour of gfortran? ...
    (comp.lang.fortran)
  • Re: Exit code with Fortran 90
    ... where n is a integer I found that the program terminate with n as exit code. ... I see that this happen compiling when I use the GNU Fortran compiler. ...
    (comp.lang.fortran)