PAUSE statement
Standard: F77 F90 F95 F2003 F2008
PAUSE [ constant ]

In Fortran 77 and Fortran 90 the constant was required to be an unsigned integer with at most 5 digits, or a scalar character literal. The NAG Fortran Compiler accepts any scalar constant default Integer or default Character expression (the same as the extended STOP statement in Fortran 2008).

Pauses program execution. With the NAG Fortran Compiler, a message is displayed on standard error, and execution waits for input (RETURN key) on standard input; this only works if the executing program has a terminal window.

The PAUSE statement was deleted in Fortran 95 because it is not portable or reliable (the method of pausing is not defined). However, all compilers still accept it as an extension.

STOP statement