LF Fortran 95

-[N]PAUSE

Pause After Program Completion

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.

Visual Studio Property

The -pause option corresponds to the Fortran|Behavior|Pause on Exit property. This property can be set on the property page for the project only.

See also

-WIN | -WINCONSOLE

Setting Build Options