📄 cscript_log.hlp
字号:
{smcl}
{* 09mar2005}{...}
{cmd:help cscript_log}{right:also see: {help undocumented}}
{hline}
{title:Title}
{p 4 21 2}
{cmd:cscript_log} {hline 2} Begin certification script log
{title:Syntax}
{p 8 20 2}
{cmd:cscript_log}
{c -(}{cmd:begin}|{cmd:end}{c )-}
[{it:dirname}]
{title:Description}
{pstd}
{cmd:cscript_log} is used by StataCorp in its testing procedure to start and
stop individual log files.
{pstd}
It is recommended that you ignore and avoid this command. This command has to
do with organizational details of how Stata is tested by StataCorp and the
syntax and actions of this command might change. For details on how StataCorp
tests Stata, see Gould (2002). For testing commands that are recommended for
use, see {helpb cscript}.
{pstd}
{cmd:cscript_log begin} begins a SMCL log. The log will be named
[{cmd:x}]{cmd:test}[{cmd:-se}]{cmd:.smcl} according to the values of
{cmd:$S_CONSOLE} and {cmd:$S_StataSE}.
{pstd}
{cmd:cscript_log end} closes the log.
{pstd}
In both cases, if {it:dirname} is specified, the current directory is
changed to {it:dirname} before the other actions of {cmd:cscript_log}.
{title:Example}
{pstd}
A portion of the Stata test script certall.do reads:
{hline 22}
{cmd:cscript_log begin base}
{cmd:do test}
{cmd:cscript_log end ..}
{cmd:cscript_log begin ado}
{cmd:do test}
{cmd:cscript_log end ..}
...
{hline 22}
{title:References}
{phang}
Gould, William. 2002.
"Statistical software certification".
{help sj:Stata Journal} {bf:1}, No. 1, pp.
29-50.
{title:Also see}
Online: {helpb cscript}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -