[fpc-pascal] Question about Deleting elements in Dynamic Array

Bihar Anwar bihar_anwar at rocketmail.com
Tue Apr 27 19:34:53 CEST 2010


----- Original Message ----

From: Henry Vermaak <henry.vermaak at gmail.com>
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Sent: Tue, April 27, 2010 10:19:45 PM

>I think the right way to do this is:
>a := copy(a, 3, length(a) - 3);
>Presumably copy optimizes this adequately.

Henry
_______________________________________________

Would Move() be faster, instead of Copy()?



      



More information about the fpc-pascal mailing list