rename.hlp
来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 61 行
HLP
61 行
{smcl}
{* 21dec2004}{...}
{cmd:help rename} {right:dialog: {bf:{dialog rename:rename/renpfix}}}
{hline}
{title:Title}
{p2colset 5 19 21 2}{...}
{p2col :{hi:[D] rename} {hline 2}}Rename variable{p_end}
{p2colreset}{...}
{title:Syntax}
{phang}
Rename variable
{p 8 16 2}
{opt ren:ame} {it:old_varname} {it:new_varname}
{phang}
Change or remove prefix on variables
{p 8 17 2}
{cmd:renpfix} {it:old_stub} [{it:new_stub}]
{title:Description}
{pstd}
{cmd:rename} changes the name of an existing variable {it:old_varname} to
{it:new_varname}; the contents of the variable are unchanged.
{pstd}
{cmd:renpfix} changes the prefix {it:old_stub} to {it:new_stub} for all
variable names that start with {it:old_stub}. If {it:new_stub} is not
specified, the {it:old_stub} prefix is removed.
{title:Examples}
{phang}{cmd:. rename year81 yr81}{p_end}
{phang}{cmd:. rename year82 yr82}
{phang}{cmd:. renpfix year yr}
{phang}{cmd:. rename ds1age age}{p_end}
{phang}{cmd:. rename ds1sex sex}
{phang}{cmd:. renpfix ds1}
{title:Also see}
{psee}
Manual: {bf:[D] rename}
{psee}
Online: {helpb generate}
{p_end}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?