copy,CopyMemory的问题,复制出来的数组怎么和被复制的数组联动了?
如题。
procedure TForm1.Button2Click(Sender: TObject);var d,d1:array of array of string;begin SetLength(d,10,3); //SetLength(d1,10,3); d[2][1]:='test'; d1:=copy(d,0,10*3*sizeof(string)); //move(d1^,d^,10*3*sizeof(string)); showmessage(d1[2][1]); d[2][1]:='abc'; showmessage(d1[2][1]);end;