Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Variables Halcon-初始化图标变量的元组_Variables_Initialization_Tuples_Halcon_Iconic - Fatal编程技术网

Variables Halcon-初始化图标变量的元组

Variables Halcon-初始化图标变量的元组,variables,initialization,tuples,halcon,iconic,Variables,Initialization,Tuples,Halcon,Iconic,如何初始化图标变量的空元组 我正在尝试这样做: concat_obj(AllStr, Str, AllStr) AllStr未初始化,因此会引发异常。需要首先使用gen\u empty\u obj(str) 那么代码应该是这样的 gen_empty_obj(str) gen_empty_obj(AllStr) str := iconic_object_1 AllStr := iconic_object_2 concat_obj(AllStr, str, AllStr) 要初

如何初始化图标变量的空元组

我正在尝试这样做:

        concat_obj(AllStr, Str, AllStr)

AllStr未初始化,因此会引发异常。

需要首先使用
gen\u empty\u obj(str)
那么代码应该是这样的

gen_empty_obj(str) 
gen_empty_obj(AllStr)
str := iconic_object_1
AllStr := iconic_object_2
concat_obj(AllStr, str, AllStr)

要初始化图标对象,请使用gen_empty_obj(图标对象)