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

📄 mf_st_local.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 15mar2004}{...}
{cmd:help mata st_local()}
{hline}
{* index st_local()}{...}
{* index stata macros}{...}

{title:Title}

{p 4 4 2}
{bf:[M-5] st_local() -- Obtain strings from and put strings into Stata macros}


{title:Syntax}

{p 8 12 2}
{it:string scalar} 
{cmd:st_local(}{it:string scalar name}{cmd:)}

{p 8 12 2}
{it:void}{bind:         }
{cmd:st_local(}{it:string scalar name}{cmd:,} 
{it:string scalar contents}{cmd:)}


{p 4 8 2}
Note:  {cmd:st_local(}{it:name}{cmd:, "")} deletes.


{title:Description}

{p 4 4 2}
{cmd:st_local(}{it:name}{cmd:)} returns the contents of the specified local
macro.

{p 4 4 2}
{cmd:st_local(}{it:name}{cmd:,} {it:contents}{cmd:)} sets or resets the
contents of the specified local macro.  If the macro did not previously exist,
a new macro is created.  If it did previously exist, the new contents replace
the old.


{title:Remarks}

{p 4 4 2}
See {bf:{help mf_st_global:[M-5] st_global()}}
and
{bf:{help mf_st_rclear:[M-5] st_rclear()}}.


{title:Conformability}

    {cmd:st_local(}{it:name}{cmd:)}:
	     {it:name}:  1 {it:x} 1
	   {it:result}:  1 {it:x} 1

    {cmd:st_local(}{it:name}{cmd:,} {it:contents}{cmd:)}:
	     {it:name}:  1 {it:x} 1
	 {it:contents}:  1 {it:x} 1
	   {it:result}:  {it:void}


{title:Diagnostics}

{p 4 4 2}
{cmd:st_local(}{it:name}{cmd:)} returns "" if the name contained in 
{it:name} is not defined.  {cmd:st_local(}{it:name}{cmd:)} aborts with
error if the name is malformed.

{p 4 4 2}
{cmd:st_local(}{it:name}{cmd:,} {it:contents}{cmd:)} aborts with error if
the name contained in {it:name} is malformed.


{title:Source code}

{p 4 4 2}
Function is built-in.


{title:Also see}

{p 4 13 2}
Manual:  {hi:[M-5] st_local()}

{p 4 13 2}
Online:  help for 
{bf:{help m4_stata:[M-4] stata}}
{p_end}

⌨️ 快捷键说明

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