Lahey/GNU Fortran


Pause After Console Program Completes

Compile only. Default: -npause

Specifying -pause will cause the executable program to wait for a keystroke from the user at program completion, before returning to the operating system. This option can be used to keep a console window from vanishing at program completion, allowing the user to view the final console output. If -npause is specified, the console window will vanish at program completion if the program is invoked from Windows Explorer or the Start menu, or if the console is generated by a Windows GUI application.