⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comments.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 08feb2005}{...}
{cmd:help comments}
{hline}

{title:Title}

{p2colset 5 21 23 2}{...}
{p2col :{hi:[P] comments} {hline 2}}Add comments to programs{p_end}
{p2colreset}{...}


{title:Description}

{pstd}
There are several ways of adding comments in do-files and programs
(ado-files).

{phang2}
1.  begin the line with {cmd:*}

{phang2}
2.  place the comment between {cmd:/*} and {cmd:*/} delimiters

{phang2}
3.  begin the comment with {cmd://}

{phang2}
4.  begin the comment with {cmd:///}

{pstd}
Note that the comment indicator {cmd:*} may only be used at the beginning of a
line, but it does have the advantage that it can be used interactively.
{cmd:*} indicates that the line is to be ignored.

{pstd}
The {cmd:/*} and {cmd:*/} comment delimiter has the advantage that it may be
used in the middle of a line, but it is more cumbersome to type than the other
comment indicators.  What appears inside {cmd:/* */} is ignored.

{pstd}
The {cmd://} comment indicator may be used at the beginning or at the end of a
line.  Note, however, that if the {cmd://} indicator is at the end of a line,
it must be preceded by one or more blanks.  {cmd://} indicates that the rest
of the line is to be ignored.

{pstd}
The {cmd:///} comment indicator instructs Stata to view from {cmd:///} to the
end of a line as a comment and to join the next line with the current line.
{cmd:///} is one way to make long lines more readable.  Like the {cmd://}
comment indicator, the {cmd:///} indicator must be preceded by one or more
blanks.


{title:Also see}

{psee}
Manual:  {bf:[P] comments}

{psee}
Online:  {helpb #delimit}
{p_end}

⌨️ 快捷键说明

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