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(图标对象)