📄 _rotate_clear.ado
字号:
*! version 1.0.0 28feb2005
* clears all r_* field in e()
program _rotate_clear, eclass
version 8
syntax
foreach m in `:e(macros)' `:e(scalars)' `:e(matrices)' {
if substr("`m'",1,2) == "r_" {
local to_drop `to_drop' e(`m')
}
}
if "`to_drop'" != "" {
mata: Dropthemnow("`to_drop'")
}
end
mata
void function Dropthemnow( string scalar _s )
{
real scalar i
string matrix s
if (_s != "") {
s = tokens(_s)
for (i=1; i<=cols(s); i++) {
st_global(s[i], "")
}
}
}
end
exit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -