H
handsome1234
Unregistered / Unconfirmed
GUEST, unregistred user!
我没找到原因
Memo2.Lines.Clear;
New(ARecord);
for B := 0 to (MyList.Count - 1) do
begin
ARecord := MyList.Items;
if ARecord^.IncNumber=IncNumber_Temp then break;
Memo2.Lines.Add(BoolToStr(ARecord^.B_IndexDrop)+inttoStr(ARecord.IncNumber)+InttoStr(ARecord.Count));
end;
MyList在执行到上面以前,就都有值了,执行到Memo处发生异常,注释掉memo就没问题,百思不得其解
Memo2.Lines.Clear;
New(ARecord);
for B := 0 to (MyList.Count - 1) do
begin
ARecord := MyList.Items;
if ARecord^.IncNumber=IncNumber_Temp then break;
Memo2.Lines.Add(BoolToStr(ARecord^.B_IndexDrop)+inttoStr(ARecord.IncNumber)+InttoStr(ARecord.Count));
end;
MyList在执行到上面以前,就都有值了,执行到Memo处发生异常,注释掉memo就没问题,百思不得其解