clonevar.hlp

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

HLP
55
字号
{smcl}
{* 21feb2005}{...}
{cmd:help clonevar}
{hline}

{title:Title}

{p2colset 5 21 23 2}{...}
{p2col :{hi:[D] clonevar} {hline 2}}Clone existing variable{p_end}
{p2colreset}{...}


{title:Syntax}

{p 8 29 2}
{cmd:clonevar}
{newvar} 
{cmd:=} 
{varname} 
{ifin}


{title:Description}

{pstd}
{cmd:clonevar} generates {newvar} as an exact copy of an existing variable,
{varname}, with the same {help data types:storage type}, values, and 
{help format:display format} as {it:varname}.
{it:varname}'s {help label:variable label}, {help label:value labels},
{help notes}, and {help char:characteristics} will also be copied.


{title:Remarks}

{pstd}
{cmd:clonevar} has various possible uses.  Programmers may desire that a
temporary variable appear to the user exactly like an existing variable.
Interactively, you might want a slightly modified copy of an original
variable, so the natural starting point is a clone of the original.


{title:Examples}

{phang}{cmd:. clonevar Mpg = mpg}

   
{title:Also see}

{psee}
Manual:  {bf:[D] clonevar}

{psee}
Online:  {helpb generate}, {helpb separate} 
{p_end}

⌨️ 快捷键说明

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