Hi List. This i a real newbie question:
I hardly use dynamic array, so I don't know if there is a simpler method to copying a dynamic interger array than the straigh forward method:
(I need a copy to preseve the current values of OldArray, since OldArray will change values later in the program)
SetLength(NewArray, Length(OldArray)); for i := Low(OldArray) to High(OldArray) do NewArray[i] := OldArray[i]; Best regards, Torsten. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal