------------ Дoбавленo в 10.09:
hiCableData.hws
#hws
func init
this.setfield('arr', arr)
this.arr = new array()
if(linked("Cable"))
for(i = 0; i < this.numdatas; i++)
this.arr.add(d(this.pt_data(i).name))
end
end
end
func Cable
return(this.arr)
end
hiCableVar.hws
#hws
func init
this.setfield('pname', pname)
this.setfield('index', index)
this.setfield('arr', arr)
if(linked("Cable"))
this.arr = d("Cable")
for(i = 0; i < this.numvars; i++)
method(code(this.pt_var(i).name))
this.pname = cgt.get_func_name()
this.index = 0 + replace(this.pname, 'Wire', '')
return(this.arr.get(this.index - 1))
end
end
end
end