D
dyxhy2003
Unregistered / Unconfirmed
GUEST, unregistred user!
type
TFigureWorkSheet=array[1..4,1..4] of byte;
var
Triada:tfigureworksheet=((1,1,1,1),
(0,0,0,0),
(0,0,0,0),
(0,0,0,0));
var
FigureWorkSheet:TFigureWorkSheet
var
i,j,m:byte;
begin
m:=0;
for j:=1 to 4 do
for i:=1 to 4 do
begin
if FigureWorkSheet[j,i]>0 then
begin
m:=m+1;
showmessage(inttostr(m));
break;
end;
end;
他不执行showmessage(inttostr(m));
TFigureWorkSheet=array[1..4,1..4] of byte;
var
Triada:tfigureworksheet=((1,1,1,1),
(0,0,0,0),
(0,0,0,0),
(0,0,0,0));
var
FigureWorkSheet:TFigureWorkSheet
var
i,j,m:byte;
begin
m:=0;
for j:=1 to 4 do
for i:=1 to 4 do
begin
if FigureWorkSheet[j,i]>0 then
begin
m:=m+1;
showmessage(inttostr(m));
break;
end;
end;
他不执行showmessage(inttostr(m));