📄 discard.hlp
字号:
{smcl}
{* 29mar2005}{...}
{cmd:help discard}
{hline}
{title:Title}
{p2colset 5 20 22 2}{...}
{p2col :{hi:[P] discard} {hline 2}}Drop automatically loaded programs{p_end}
{p2colreset}{...}
{title:Syntax}
{cmd:discard}
{title:Description}
{pstd}
{cmd:discard} drops all automatically loaded programs (see
{hi:[U] 17.2 What is an ado-file?}); clears {cmd:e()}, {cmd:r()}, and
{cmd:s()} saved results (see {helpb return}); eliminates information
stored by the most recent estimation command and any other saved estimation
results (see {helpb ereturn}); closes any open graphs and drops all sersets
(see {helpb serset}); clears all class definitions and instances (see
{helpb classutil}); and closes all dialogs and clears their remembered contents
(see {help dialog programming}).
{pstd}
In short, {cmd:discard} causes Stata to forget everything current without
forgetting anything important, such as the data in memory.
{title:Remarks}
{pstd}
Use {cmd:discard} when debugging ado-files. Making a change to an ado-file
will not cause Stata to update its internal copy of the changed program.
{cmd:discard} clears all automatically loaded programs from memory, forcing
Stata to refresh its internal copies with the versions residing on disk.
{title:Also see}
{psee}
Manual: {bf:[P] discard}
{psee}
Online: {help class}, {helpb classutil}, {help dialog programming}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -