L
loskiller
Unregistered / Unconfirmed
GUEST, unregistred user!
for i:=0 to x.count-1 do
begin
x.x.dosomething;
for j:=0 to x.x.count-1 do
begin
x.x.x[j].dosomething;
for k:=0 to x.x.x[j].count-1 do
begin
x.x.x[j].x[k].dosomething;
end;
end;
end;
其中x,x,x[j],x[k]都是Tx类型的变量,我应该怎么控制for语句的次数
begin
x.x.dosomething;
for j:=0 to x.x.count-1 do
begin
x.x.x[j].dosomething;
for k:=0 to x.x.x[j].count-1 do
begin
x.x.x[j].x[k].dosomething;
end;
end;
end;
其中x,x,x[j],x[k]都是Tx类型的变量,我应该怎么控制for语句的次数