徐
徐涛
Unregistered / Unconfirmed
GUEST, unregistred user!
我想用多线程来检索数组中的值。
其中我的定义如下:
type
xt_hm = class(TThread)
private
Ta:array[1..551]Of string;
protected
procedure Execute;
override;
procedure disloop;
public
constructor create(var Tt:array of string);
end;
implementation
uses u_xt_2;
constructor xt_hm.create(var tt:array of string);
begin
inherited create(false);
Aedit:=edit;
freeonterminate:=true;
ta:=tt;
//问题就在这,系统总是提示
[Error] U_thread1.pas(37): Incompatible types。
end;
其中我的定义如下:
type
xt_hm = class(TThread)
private
Ta:array[1..551]Of string;
protected
procedure Execute;
override;
procedure disloop;
public
constructor create(var Tt:array of string);
end;
implementation
uses u_xt_2;
constructor xt_hm.create(var tt:array of string);
begin
inherited create(false);
Aedit:=edit;
freeonterminate:=true;
ta:=tt;
//问题就在这,系统总是提示
[Error] U_thread1.pas(37): Incompatible types。
end;