名称
comment - 为程序添加一行注释。
用法
comment( : : Comment : )
描述
comment给程序中添加一行注释。 作为参数值,即作为注释,允许所有的字符。 如果使用算子窗口输入注释,并且注释行参数中有换行符,则每个文本行都插入一条注释语句。
在全文编辑器中,通过输入星号(‘*‘)作为第一个非空白字符来标记注释。
该算子对程序执行没有影响。
comment allows to add a comment of one line to the program. As parameter value, i.e., as comment, all characters are allowed. If the operator window is used to enter a comment and if there are newlines in the comment line parameter, one comment statement for every text line is inserted.
In the full text editor a comment is marked by entering an asterisk (‘*‘) as first non-whitespace character.
This operator has no effect on the program execution.
参数
Comment (input_control) string → (string)
任意字符序列。
示例(HDevelop)
* This is a program with comments * ‘this is a string as comment‘ * here are numbers: 4711, 0.815 stop ()
结果
comment从未执行。
模块
Foundation
时间: 2024-10-25 22:28:37