📄 _gs_parse_and_log_axtitle.ado
字号:
*! version 1.0.1 13feb2003
// ---------------------------------------------------------------------------
// Parse axis title settings and options and push the associated edits of the
// named object onto the specified log.
//
// Usage: ._gs_parse_and_log_axtitle log name
// <settings and options>
program _gs_parse_and_log_axtitle
gettoken log 0 : 0
gettoken name 0 : 0
_parse comma mtext 0 : 0
syntax [ , PREFIX SUFFIX AXis(passthru) * ] // axis() ignored
if `:word count `prefix' `suffix'' > 1 {
di as error "options prefix and suffix may not be combined"
exit 198
}
if "`prefix'`suffix'" == "" {
local replace replace
}
if `"`mtext'"' != `""' {
.`log'.Arrpush .`name'.edit , mtext(`mtext') ///
`prefix' `suffix' `replace'
}
if `"`options'"' != `""' {
_fr_sztextbox_parse_and_log `log' `name' , `options'
local 0 `", `r(rest)'"'
syntax [, FAKE_OPT_FOR_BETTER_MSG ]
}
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -