Вверх ↑
Главный модератор
Ответов: 2999
Рейтинг: 396
#1: 2014-07-28 10:09:58 ЛС | профиль | цитата
Предоставьте простую проблемную схему с GetDataEx'ом, тогда и разговор может будет конкретней.
------------ Д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
карма: 6
Дорогу осилит идущий. Install/Update HiAsm.NET
1
Голосовали:miver