quietly.hlp

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 61 行

HLP
61
字号
{smcl}
{* 09feb2005}{...}
{cmd:help quietly}, {cmd:help noisily}
{hline}

{title:Title}

{p2colset 5 20 22 2}{...}
{p2col :{hi:[P] quietly} {hline 2}}Quietly and noisily perform Stata command{p_end}
{p2colreset}{...}


{title:Syntax}

	{cmdab:qui:etly} [{cmd::}] {it:command}

	{cmdab:n:oisily} [{cmd::}] {it:command}

{phang2}{cmd:set} {cmdab:ou:tput} {c -(} {cmdab:p:roc} | {cmdab:i:nform} |
{cmdab:e:rror} {c )-}


{title:Description}

{pstd}
{cmd:quietly} suppresses all terminal output for the duration of {it:command}.
It is useful both interactively and in programs.

{pstd}
{cmd:noisily} turns back on terminal output, if appropriate, for the
duration of {it:command}.  It is useful only in programs.

{pstd}
{cmd:set output} specifies the output to be displayed.  It is useful only
in programs and even then is seldom used.  {cmd:quietly} and {cmd:noisily} are
better.


{title:Example of interactive use}

{pstd}
You do not care to see the output from a particular regression, but instead
want to silently run the regression so that you may access some of its
returned results.

{phang2}{cmd:. quietly regress mpg weight weightsq foreign}

{pstd}
No output is presented, but the {hi:e()} returned results from the
regression are now available.


{title:Also see}

{psee}
Manual:  {bf:[P] quietly}

{psee}
Online:  {helpb capture}
{p_end}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?