[fpc-pascal] Move() vs MemCopy()
graemeg.lists at gmail.com
Tue Sep 29 15:46:18 CEST 2009
2009/9/29 Michael Van Canneyt <michael at freepascal.org>:
> Because move predates memcopy. memcopy is a windows function.
> Move existed in the system unit of TP even before windows existed.
Windows has 'memcpy()', not 'memcopy()' ;-)
As for the origins of Move(), I can't comment.... except to say that
the original author of that procedure is trying to f*ck with my mind.
:-) I would have imagined that with all our new found knowledge we
might have come up with a better name for that procedure by now.
Maybe it is worth adding a MemCopy() method in FPC? Which simply calls
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the fpc-pascal