The PAUSE statement temporarily suspends execution of the program.
When a PAUSE statement is reached, the string "Press any key to continue" is displayed. The program resumes execution when a key representing any printable character is pressed.
The PAUSE statement was considered obsolescent in Fortran 90, and has been deleted from the Fortran 95 language specification. Regardless of this, the PAUSE statement will continue to be supported by LF95.
Examplepause !"Press any key to continue . . ." is displayed