mata_drop.hlp

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

HLP
73
字号
{smcl}
{* 03may2005}{...}
{cmd:help mata drop}
{hline}
{* index mata tt}{...}
{* index drop tt}{...}

{title:Title}

{p 4 4 2}
{bf:[M-3] mata drop -- Drop matrix or function}


{title:Syntax}

{p 8 16 2}
: {cmd:mata} {cmd:drop}
{it:namelist}


{p 4 4 2}
where {it:namelist} is as defined in 
{bf:{help m3_namelists:[M-3] namelists}}.

{p 4 4 2}
This command is for use in Mata mode following Mata's colon prompt.
To use this command from Stata's dot prompt, type

		. {cmd:mata: mata drop} ...


{title:Description}

{p 4 4 2}
{cmd:mata} {cmd:drop} 
clears from memory the specified matrices and functions.

{title:Remarks}

{p 4 4 2}
Use {bf:{help mata_describe:[M-3] mata describe}}
to determine what is in memory.  
Use {bf:{help mata_clear:[M-3] mata clear}} to drop all matrices
and functions, or use Stata's {cmd:clear} command (see 
{bf:{help drop:[D] drop}}).

{p 4 4 2}
To drop a matrix named {cmd:A}, type 

	: {cmd:mata drop A}

{p 4 4 2}
To drop a function named {cmd:foo()}, type 

	: {cmd:mata drop foo()}

{p 4 4 2}
To drop a matrix named {cmd:A} and a function named {cmd:foo()}, type 

	: {cmd:mata drop A foo()}


{title:Also see}

{p 4 13 2}
Manual:  {hi:[M-3] mata drop}

{p 4 13 2}
Online:  help for 
{bf:{help mata_clear:[M-3] clear}};
{bf:{help m3_intro:[M-3] intro}}
{p_end}

⌨️ 快捷键说明

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