_check4gropts.hlp

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

HLP
60
字号
{smcl}
{* 09mar2005}{...}
{cmd:help _check4gropts}{right:also see:  {help undocumented}}
{hline}

{title:Title}

{p 4 23 2}
{cmd:_check4gropts} {hline 2} Parsing tool for graph commands


{title:Syntax}

{p 8 12 2}
{cmd:_check4gropts} {it:opt_name} [, {cmdab:opt:s:(}{it:options}{cmd:)} ]


{title:Description}

{pstd}
{cmd:_check4gropts} displays an error message when certain options are
supplied in {cmd:opts()}.  The purpose of this tool is to provide a way for
graph producing commands to quit early when supplied with options that are not
allowed.

{pstd}
The current list of options that {cmd:_check4gropts} checks for are:

{pin2}
	{cmd:by()}
	{cmd:name()}
	{cmd:saving()}


{title:Option}

{phang}
{cmd:opts(}{it:options}{cmd:)} contains the options to be parsed.


{title:Examples}

    {cmd}. cap noi _check4gropts ciopts, opts(by(for, total))
    {err}option ciopts() does not allow the by() option
    {txt}{search r(191):r(191);}

    {cmd}. cap noi _check4gropts ciopts, opts(name(stuff))
    {err}option ciopts() does not allow the name() option
    {txt}{search r(198):r(198);}


{title:Also see}

{psee}
Online:  {helpb graph},
{helpb macro},
{helpb syntax},
{helpb _get_gropts}
{p_end}

⌨️ 快捷键说明

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