var
count:integer;
begin
count:=13;for i:=1 to count-3 do
begin
for j:=i+1 to count-2 do
begin
for p:=j+1 to count-1 do
begin
for q:=p+1 to count do
begin
。//写数组,略
end;
end;
end;
end;
当i循环到11的时候应该退出的,但是,却报错说
Project ***.exe raised exception clasee EInvalidPointer with message"Invalid pointer operation".Process stopped.Use Step or Run to continue.
可是我好象根本就没用指针呀,不知道是什么原因,那位高人指点!!!!
count:integer;
begin
count:=13;for i:=1 to count-3 do
begin
for j:=i+1 to count-2 do
begin
for p:=j+1 to count-1 do
begin
for q:=p+1 to count do
begin
。//写数组,略
end;
end;
end;
end;
当i循环到11的时候应该退出的,但是,却报错说
Project ***.exe raised exception clasee EInvalidPointer with message"Invalid pointer operation".Process stopped.Use Step or Run to continue.
可是我好象根本就没用指针呀,不知道是什么原因,那位高人指点!!!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货