首页 > 其他 > 详细

Halcon算子翻译——executable_expression

时间:2017-11-10 18:05:29      阅读:264      评论:0      收藏:0      [点我收藏+]

名称

executable_expression - 以类似于算子的方式执行单个表达式。

用法

executable_expression( : : Expression : )

描述

HDevelop语言包含一些表达式,不仅返回一个返回值,而且修改它们的输入变量。 使用executable_expression,可以以类似于算子的方式执行这些表达式。

目前,这些是向量表达式‘.clear()‘,‘.insert()‘和‘.remove()‘。 有关更多详细信息,请参阅HDevelop用户指南。

尽管Expression在形式上是一个控制参数,但是也可以执行图像表达式。 但是,Expression是一个修改表达式。

The HDevelop language contains a few expressions, which do not only give back a return value but also modify their input. With executable_expression it is possible to execute such expressions in an operator-like manner.

Currently, those are the vector expressions ‘.clear()‘, ‘.insert()‘, and ‘.remove()‘. For further details please refer to the HDevelop User‘s Guide.

Even though Expression formally is a control parameter, nonetheless it is also possible to execute iconic expressions. However, it is compulsory that Expression is a modifying expression.

参数

Expression (input_control)   number-vector → (real / integer / string)
要执行的表达式

结果

如果指定参数的值正确,则executable_expression返回2(H_MSG_TRUE)。 否则会引发异常并返回错误代码。

模块

Foundation

 

Halcon算子翻译——executable_expression

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

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