⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 capture.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 08feb2005}{...}
{cmd:help capture}
{hline}

{title:Title}

{p2colset 5 20 22 2}{...}
{p2col :{hi:[P] capture} {hline 2}}Capture return code programming command{p_end}
{p2colreset}{...}


{title:Syntax}

	{cmdab:cap:ture} [{cmd::}] {it:command}


{title:Description}

{pstd}
{cmd:capture} executes {it:command}, suppressing all of its output
(including error messages, if any) and issues a return code of zero.  The
actual return code generated by {it:command} is stored in the built-in
scalar {cmd:_rc}.

{pstd}
{cmd:capture} is useful in do-files and programs since their execution
terminates when a command issues a nonzero return code.  Preceding sensitive
commands with the word {cmd:capture} allows the do-file or program to
continue in spite of errors.  In addition, do-files and programs can be made
to respond appropriately to any situation by conditioning their remaining
actions on the content of the scalar {cmd:_rc}.

{pstd}
{cmd:capture} can be combined with {cmd:{c -(}}{cmd:{c )-}} to produce capture
blocks, which suppress output for the block of commands.


{title:Also see}

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

{psee}
Online:  {helpb nobreak}, {helpb confirm}
{p_end}

⌨️ 快捷键说明

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