【机器视觉】 comment算子

00. 目录

文章目录

    • 00. 目录
    • 01. 概述
    • 02. 签名
    • 03. 描述
    • 04. 注意
    • 05. 参数
    • 06. 结果
    • 07. 附录

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.815
stop ()

07. 附录

7.1 机器视觉博客汇总
网址:https://dengjin.blog.csdn.net/article/details/116837497


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部