G
gravel
Unregistered / Unconfirmed
GUEST, unregistred user!
我在delhpi中,定义了一个类:type Tshili=class
private
wu,m:integer;
w:array[1..30] of integer;
public
procedure initialize(gwu,gm:integer);
end;
我在initialize过程中,wu;=gwu; m;=gm;
可总是出错。怎样解决?
另:类的构造函数应怎样写?
private
wu,m:integer;
w:array[1..30] of integer;
public
procedure initialize(gwu,gm:integer);
end;
我在initialize过程中,wu;=gwu; m;=gm;
可总是出错。怎样解决?
另:类的构造函数应怎样写?