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

📄 classbi.hlp

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

{title:Appendix C.4:  Quick summary of built-ins}

{pstd}
Built-ins come in two flavors:  (1) built-in functions{hline 2}built-ins that
return a result but do not change the object on which they are run, and (2)
built-in modifiers{hline 2}built-ins that might return a result but most
importantly modify the object on which they are run.


    {title:Built-in functions (may be used as {it:rvalues})}

{synoptset 31}{...}
{synopt :{cmd:.}{it:object}{cmd:.id}}creates new instance of
   {cmd:.}{it:object}{p_end}
{synopt :{cmd:.}{it:instance}{cmd:.copy}}makes a copy of
   {cmd:.}{it:instance}{p_end}
{synopt :{cmd:.}{it:instance}{cmd:.ref}}for using in assignment by
   reference{p_end}
{synopt :{cmd:.}{it:object}{cmd:.objtype}}returns "{cmd:double}",
   "{cmd:string}", "{cmd:array}", or "{it:classname}"{p_end}
{synopt :{cmd:.}{it:object}{cmd:.isa}}returns "{cmd:double}", "{cmd:string}",
   "{cmd:array}", "{cmd:class}", or "{cmd:classtype}"{p_end}
{synopt :{cmd:.}{it:object}{cmd:.classname}}returns "{it:classname}" or
   ""{p_end}
{synopt :{cmd:.}{it:object}{cmd:.isofclass} {it:classname}}returns 1 if
   {it:object} is of class type {it:classname}{p_end}
{synopt :{cmd:.}{it:object}{cmd:.objkey}}returns a string that can be used to
   reference {it:object} outside the implied context{p_end}
{synopt :{cmd:.}{it:object}{cmd:.uname}}returns a string that can be used as a
   name throughout Stata; name corresponds to {cmd:.}{it:object}'s
   {cmd:.ref}{p_end}
{synopt :{cmd:.}{it:object}{cmd:.ref_n}}returns number ({cmd:double}) of total
   number of identifiers sharing object{p_end}
{synopt :{cmd:.}{it:array}{cmd:.arrnels}}returns number ({cmd:double})
   corresponding to largest index of the array assigned{p_end}
{synopt :{cmd:.}{it:array}{cmd:.arrindexof "}{it:string}{cmd:"}}searches 
   array for first element equal to {it:string} and returns the index
   ({cmd:double}) of element or returns 0{p_end}
{synopt :{cmd:.}{it:object}{cmd:.classmv}}returns {cmd:array} containing the
   {cmd:.ref}s of each classwide member of {cmd:.}{it:object}{p_end}
{synopt :{cmd:.}{it:object}{cmd:.instancemv}}returns {cmd:array} containing
   the {cmd:.ref}s of each instance-specific member of {cmd:.}{it:object}{p_end}
{synopt :{cmd:.}{it:object}{cmd:.dynamicmv}}returns {cmd:array} containing the
   {cmd:.ref}s of each dynamically added member of {cmd:.}{it:object}{p_end}
{synopt :{cmd:.}{it:object}{cmd:.superclass}}returns {cmd:array} containing
   the {cmd:.ref}s of each of the classes from which {cmd:.}{it:object}
   inherited{p_end}
{p2colreset}{...}


    {title:Built-in modifiers}

{synoptset 31}{...}
{synopt :{cmd:.}{it:instance}{cmd:.Declare} {it:declarator}}returns nothing;
   adds member variable to instance; see {help classdeclare}{p_end}
{synopt :{cmd:.}{it:array}{cmd:[}{it:exp}{cmd:].Arrdropel} {it:#}} returns
   nothing; drops the specified array element{p_end}
{synopt :{cmd:.}{it:array}{cmd:.Arrpop}}returns nothing; finds the top element
   and removes it{p_end}
{synopt :{cmd:.}{it:array}{cmd:.Arrpush "}{it:string}{cmd:"}} returns nothing;
   adds string to end of array{p_end}
{p2colreset}{...}


{title:Description}

{pstd}
See {help classman} for more information.


{title:Also see}

{psee}
Manual:  {bf:[P] class}{p_end}

{psee}
Online:  {help class}, {help classman};{break}
{help classdeclare}, {help classassign}, {help classmacro}, {helpb sysdir}
{p_end}

⌨️ 快捷键说明

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