首页 > 其他 > 详细

Halcon算子翻译——comment

时间:2017-11-10 16:16:52      阅读:298      评论:0      收藏:0      [点我收藏+]

名称

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

Halcon算子翻译——comment

原文:http://www.cnblogs.com/xhiong/p/7815159.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!