L lunyx Unregistered / Unconfirmed GUEST, unregistred user! 2009-08-11 #1 ReceiveList: array of byte;SetLength(ReceiveList,1); ReceiveList[0]:=$30;我付给一些之后,要清空,并且长度设置0.怎么处理啊
H hlwbn Unregistered / Unconfirmed GUEST, unregistred user! 2009-08-11 #5 for i:=0 to length(ReceiveList) do ReceiveList:=nilSetLength(ReceiveList,0);
L liuls Unregistered / Unconfirmed GUEST, unregistred user! 2009-08-11 #6 肯定是你在分配值后, 有过超出范围取值了. 当时不会错, 但释放时就会报错了.如何清空数组,并使长度置为0?SetLength(ReceiveList, 0);或ReceiveList := nil;