本文共 984 字,大约阅读时间需要 3 分钟。
00. 目录
文章目录
01. 概述
comment - 为程序添加一行注释。
02. 签名
comment( : : Comment : )
03. 描述
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.
04. 注意
略
05. 参数
Comment (input_control)
任意字符序列。
06. 结果
comment从未执行。
HDevelop例程
variable_types.hdev Define variable types in HDevelop comment.hdev Use comments and verbatim code export程序示例
* This is a program with comments* 'this is a string as comment'* here are numbers: 4711, 0.815stop ()
07. 附录
7.1 机器视觉博客汇总
网址:转载地址:https://dengjin.blog.csdn.net/article/details/117933570 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!