名称
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